distr (version 1.3)

GammaParameter-class: Class "GammaParameter"

Description

The parameter of a gamma distribution, used by Gamma-class

Arguments

Objects from the Class

Objects can be created by calls of the form new("GammaParameter", shape, scale). Usually an object of this class is not needed on its own, it is generated automatically when an object of the class Gamma is instantiated.

Extends

Class "Parameter", directly.

See Also

Gamma-class AbscontParameter-class

Examples

Run this code
W=new("GammaParameter",scale=1,shape=1)
shape(W) # shape of this distribution is 1.
shape(W)=2 # shape of this distribution is now 2.

Run the code above in your browser using DataLab