sample_stack: Sample Points in Raster Stack

View source: R/data.R

sample_stackR Documentation

Sample Points in Raster Stack

Description

Samples n points of a raster stack.

Usage

sample_stack(stack, n = 100)

Arguments

stack

(terra::SpatRaster)
Raster stack.

n

(integer(1))
Number of points.

Value

sf::sf


mlr3spatial documentation built on Aug. 12, 2025, 1:08 a.m.