Learn R Programming

mistr (version 0.0.2)

gammadist: Creates an Object Representing Gamma Distribution

Description

The function creates an object which represents the gamma distribution.

Usage

gammadist(shape = 2, rate, scale)

Arguments

shape

shape parameter, default: 2.

rate

rate parameter, an alternative way to specify the scale.

scale

scale parameter.

Value

Object of class gammadist.

Details

See GammaDist.

See Also

GammaDist

Examples

Run this code
# NOT RUN {
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