Learn R Programming

simsem (version 0.2-8)

simGamma: Create random gamma distribution object

Description

Create random gamma distribution object. Random gamma distribution object will save the shape and rate parameters.

Usage

simGamma(shape, rate = 1)

Arguments

shape
The shape parameter (alpha)
rate
The rate parameter (beta)

Value

  • SimGammaRandom Gamma Distribution object (SimGamma) that save the specified parameters

See Also

  • VirtualDistfor all distribution objects.

Examples

Run this code
g11 <- simGamma(1, 1)
    run(g11)
	summary(g11)

Run the code above in your browser using DataLab