View source: R/createRectGrid.R
createRectGrid | R Documentation |
Function to create a tibble tibble describing a rectangular grid.
createRectGrid(xctrs, yctrs, dx = 1, dy = 1)
xctrs |
|
yctrs |
|
dx |
|
dy |
|
The returned tibble will have the following columns:
xc - rectangle center location along x-axis
yc - rectangle center location along y-axis
id - id (character) for rectangle with center xc,yc [="(xc,yc)"]
x - rectangle corner location along x-axis
y - rectangle corner location along y-axis
a tibble
. See Details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.