make_dummy_points: Make dummy points set for a given raster

View source: R/example_data.R

make_dummy_pointsR Documentation

Make dummy points set for a given raster

Description

Make dummy points set for a given raster

Usage

make_dummy_points(R = make_dummy_stack(), N = 10, M = 2, na.rm = TRUE)

Arguments

R

RasterLayer, Stack or Brick or SpatRaster

N

integer, the number of points to generate

M

numeric, a multiplier to start with a selection of random points from which N are selected. Ignored if na.rm is FALSE.

na.rm

logical, if TRUE then avoid NA cells

Value

tibble of point location info ala extractPts


BigelowLab/rasf documentation built on July 18, 2022, 10:19 p.m.