gammadistribution {lestat}R Documentation

Create a Gamma Distribution

Description

Create a Gamma distribution.

Usage

gammadistribution(alpha = 1, beta = 1)

Arguments

alpha

The first parameter of the Gamma distribution: The "shape" parameter.

beta

The second parameter of the Gamma distribution: The "rate" parameter.

Details

The density of the distribution is proportional to

f(x)=x^{\alpha-1}\exp(-\beta x)

Value

A Gamma probability distribution.

Author(s)

Petter Mostad <mostad@chalmers.se>

See Also

expgamma

Examples

dist <- gammadistribution(4, 2)
plot(dist)

[Package lestat version 1.9 Index]