Description Usage Arguments Details Value See Also
Create a regular grid with the same number of points on each dimension.
1 | build_grid_identical(coords, npts, pad = 0, ...)
|
coords |
A matrix or data frame of coordinates as columns |
npts |
The approximate total number of points of the output grid |
pad |
Padding on each dimension (a positive number makes a grid that is larger than the ranges of the coordinates). |
... |
other arguments are silently ignored |
This function creates a grid that covers a set of points. The number of points of the output grid is the same on all dimensions. This is probably the only useful option for 1D moving-window computations.
The coordinates of a grid of points as a data frame with
approximately npts
rows and ncol(coords)
columns. Names
are transfered from the coords
data frame.
Other grid building functions: build_grid_ahull_crop
,
build_grid_ahull_fill
,
build_grid_squaretile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.