Learn R Programming

rGEDI (version 0.6.0)

rasterSampling: GEDI raster-stratified sampling specification

Description

GEDI raster-stratified sampling specification

Usage

rasterSampling(size, raster, lon = NULL, lat = NULL)

Value

A gedi_sampling_method object containing the raster-stratified sampling parameters for use with sampleGEDI().

Arguments

size

Number or fraction per raster class.

raster

A categorical SpatRaster.

lon, lat

Optional coordinate column names.