stratsamp {spup}R Documentation

Stratified sampling for spatial variables

Description

Stratified sampling for spatial variables

Usage

stratsamp(n, distribution, parameters, p)

Arguments

n

sample size per stratum.

distribution

a string, distribution type to sample from.

parameters

given distribution parameters.

p

a vector of quantiles.

Value

Sample of spatial variable. Matrix with n rows and length(p)-1 columns.

Author(s)

Stefan van Dam, Kasia Sawicka


[Package spup version 1.4-0 Index]