Learn R Programming

rGEDI (version 0.6.0)

stratifiedSampling: GEDI attribute-stratified sampling specification

Description

GEDI attribute-stratified sampling specification

Usage

stratifiedSampling(size, variable, breaks = NULL)

Value

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

Arguments

size

Number or fraction per stratum.

variable

Column used as strata, or a numeric column to bin.

breaks

Optional breaks for a numeric variable.