Learn R Programming

mistr (version 0.0.6)

gammadist: Creates an Object Representing Gamma Distribution

Description

The function creates an object which represents the gamma distribution.

Usage

gammadist(shape = 2, rate, scale)

Value

Object of class gammadist.

Arguments

shape

shape parameter, default: 2.

rate

rate parameter, an alternative way to specify the scale.

scale

scale parameter.

Details

See GammaDist.

See Also

Examples

Run this code
G <- gammadist(shape = 2, scale = 3)
d(G, c(2, 3, 4, NA))
r(G, 5)

Run the code above in your browser using DataLab