allocating {sgsR} | R Documentation |
Allocating strata: 'existing'
Description
Allocation algorithms based on 'existing'
Allocation algorithms
Usage
allocate_existing_prop(existing, nSamp)
allocate_existing_optim(existing, metric, nSamp)
allocate_existing_manual(existing, nSamp, weights)
allocate_existing_equal(existing, nSamp)
allocate_prop(sraster, nSamp)
allocate_optim(sraster, mraster, nSamp)
allocate_manual(sraster, nSamp, weights)
allocate_equal(sraster, nSamp)
allocate_existing(toSample, existing)
allocate_force(toSample, nSamp, diff)
Arguments
existing |
sf 'POINT' or data.frame. Existing plot network. |
nSamp |
Numeric. Number of desired samples. |
weights |
Numeric. Only applicable when |
sraster |
spatRaster. Stratification raster to be used for sampling. |
mraster |
spatRaster. ALS metric raster. Required when |
Value
Data frame of allocated samples by stratum. Used internally within sample_existing(type = "strat")
.
Data frame of allocated samples by stratum. Used internally within sample_strat()
.
[Package sgsR version 1.5.0 Index]