find_strata {spup}R Documentation

Sampling from a given distribution

Description

Sampling from a given distribution

Usage

find_strata(p, distribution, parameters, ...)

Arguments

p

a vector of quantiles.

distribution

a string indicating which distribution to sample from. See ?defineUM() for Details.

parameters

parameters to pass to the appropriate sampling funtion, e.g. mean and sd for "norm" distribution.

...

additional parameters.

Value

Strata of the distribution defined by given quantiles.

Author(s)

Kasia Sawicka, Stefan van Dam


[Package spup version 1.4-0 Index]