layers_randomPoints-deprecated: Select N non-NA random points from a mulitlayer Raster*...

layers_randomPoints-deprecatedR Documentation

Select N non-NA random points from a mulitlayer Raster* object

Description

Select N non-NA random points from a mulitlayer Raster* object

Usage

layers_randomPoints(R, pts = NULL, N = 1000)

Arguments

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.

  • 'cell' and 'layer' (or 'z')

  • 'row', 'col' and 'layer' (or 'z')

  • 'lon', 'lat' and 'layer' (or 'z')

  • 'x', 'y' and 'layer' (or 'z')

N

the number of points to select

Value

data.frame of sampled points with the following

  • lon

  • lat

  • col

  • row

  • cell

  • layer

  • value


BigelowLab/dismotools documentation built on Jan. 4, 2023, 11:24 a.m.