distribution_sampling {spup}R Documentation

Sampling from a given distribution

Description

Sampling from a given distribution

Usage

distribution_sampling(n, distribution, parameters)

Arguments

n

number of sampling runs

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

vector of 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]