distribution_sampling_raster {spup}R Documentation

Sampling from a given distribution

Description

Only used in samplemethod "randomSampling" for MarginalNumericSpatial.

Usage

distribution_sampling_raster(distribution, parameters_stack)

Arguments

distribution

A string describing selected distribution. The same as a part of the string following the "r" in each random variate generation function in ?distributions.

parameters_stack

parameters to pass to the random variate generation function after number of observations.

Value

Sample of random deviates.

Author(s)

Kasia Sawicka


[Package spup version 1.4-0 Index]