sample.by.poly: Sample a Polygon at Fixed Density

Description Usage Arguments Details Value Note Author(s) See Also

Description

Generate sampling points within a SpatialPolygon object, according to a specified sampling density.

Usage

1
2
sample.by.poly(p, n.pts.per.ac=1, min.samples=5, 
sampling.type='hexagonal', iterations=10, p4s=NULL)

Arguments

p

a Polygon object, with coordinates in a projected CRS

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, see spsample

iterations

number of tries that spsample will attempt

p4s

a qualified proj4string that will be assigned to sampling points

Details

This function is typically accessed via some kind of helper function such as constantDensitySampling.

Value

A SpatialPoints object.

Note

This function expects that the Polygon object has coordinates associated with a projected CRS– e.g. units of meters.

Author(s)

D.E. Beaudette

See Also

constantDensitySampling



Search within the sharpshootR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.