R/data.R
sample_stack.Rd
Samples n points of a raster stack.
n
sample_stack(stack, n = 100)
(terra::SpatRaster) Raster stack.
(integer(1)) Number of points.
integer(1)
sf::sf