Makes one of five distributions of gamma values, including a constant value (0), a uniform distribution (1), an exponential distribution (2), a beta distribution (3), or a gamma distribution (4).

make_gammas(nn = 10, distribution = 1, mn = 1, sdd = 1)

Arguments

nn

The number of elements in the returned vector

distribution

The type of distribution to return

mn

The mean of the vector to be returned

sdd

The standard devation of the vector to be returned (where applicable)

Value

A vector with elements sampled froma set distribution

Examples

gammas <- make_gammas(nn = 8);