stratsamp: Stratified sampling for spatial variables
Description
Stratified sampling for spatial variables
Usage
stratsamp(n, distribution, parameters, p)
Value
Sample of spatial variable. Matrix with n rows and length(p)-1 columns.
Arguments
- n
sample size per stratum.
- distribution
a string, distribution type to sample from.
- parameters
given distribution parameters.
- p
a vector of quantiles.
Author
Stefan van Dam, Kasia Sawicka