constantDensitySampling {sharpshootR} | R Documentation |
Constant Density Sampling
Description
Perform sampling at a constant density over all polygons within a SpatialPolygonsDataFrame object.
Usage
constantDensitySampling(x, polygon.id='pID', parallel=FALSE, cores=NULL,
n.pts.per.ac=1, min.samples=5, sampling.type='regular')
Arguments
x |
a |
polygon.id |
name of attribute in |
parallel |
invoke parallel back-end |
cores |
number of CPU cores to use for parallel operation |
n.pts.per.ac |
requested sampling density in points per acre (results will be close) |
min.samples |
minimum requested number of samples per polygon |
sampling.type |
sampling type |
Value
a SpatialPointsDataFrame
object
Note
This function expects that x
has coordinates associated with a projected CRS and units of meters.
Author(s)
D.E. Beaudette
See Also
[Package sharpshootR version 2.3.1 Index]