Description Usage Arguments Value
Function to generate points on a grid. Points are assembled in an
n \times 2 matrix with NA
's separating series of vertical
and horizontal lines in the grid.
1 |
xlim |
range in x-axis |
ylim |
range in y-axis |
xn, yn |
the number of vertical and horizontal lines, respectively. This
parameter is overridden by |
xspace, yspace |
the distance between successive vertical and horizontal lines, respectively |
xres, yres |
the distance between points generated along horizontal and vertical lines, respectively; if xres and yres are not specified, then points are generated only at the nodes of intersection of the vertical and horizontal lines. Note that these nodes appear in duplicate as sequences of points are generated first for the vertical lines and then for the horizontal lines. |
A list containing the following named components:
grid |
coordinates of grid points |
rl.ind |
Indicator of points generated from vertical or horizontal line |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.