layers_randomPoints-deprecated | R Documentation |
Select N non-NA random points from a mulitlayer Raster* object
layers_randomPoints(R, pts = NULL, N = 1000)
R |
a multilayer Raster* object |
pts |
xyz values for presence points [lon, lat, layer] - these locations are avoided when sampling. Ignored if NULL. This must have either set of the following columns. Note that layer (or z) may be either a layer index number or layer names.
|
N |
the number of points to select |
data.frame of sampled points with the following
lon
lat
col
row
cell
layer
value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.