get_xy_samples: get xy of pixels to sample from raster

View source: R/get_xy_samples.R

get_xy_samplesR Documentation

get xy of pixels to sample from raster

Description

get xy of pixels to sample from raster

Usage

get_xy_samples(input_rast, nbSamples, input_mask = NULL)

Arguments

input_rast

SpatRaster. raster to extract data from

nbSamples

numeric. number of samples to be extracted

input_mask

SpatRaster. mask corresponding to raster to extract data from

Value

xy matrix


jbferet/biodivMapR documentation built on April 12, 2025, 1:32 p.m.