Description Usage Arguments Value Note See Also Examples
visVp
is supposed to create viewports, which describe
rectangular regions on a graphics device and define a number of
coordinate systems for each of supra-hexagonal grids.
1 2 3 4 5 6 7 8 9 |
height |
a numeric value specifying the height of device |
xdim |
an integer specifying x-dimension of the grid |
ydim |
an integer specifying y-dimension of the grid |
colNum |
an integer specifying the number of columns |
rowNum |
an integer specifying the number of rows |
gp |
an object of class gpar, typically the output from a call to the function gpar (i.e., a list of graphical parameter settings) |
newpage |
logical to indicate whether to open a new page. By default, it sets to true for opening a new page |
vpnames |
an R object of "viewport" class |
none
1 2 3 4 5 | # 1) create 5x5 viewports
vpnames <- visVp(colNum=5, rowNum=5)
# 2) look at names of these viewports
vpnames
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.