distr (version 2.0.2)

GammaParameter-class: Class "GammaParameter"

Description

The parameter of a gamma distribution, used by Gammad-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 Gammad is instantiated.

Extends

Class "Parameter", directly.

concept

  • parameter
  • Gamma distribution
  • S4 parameter class

See Also

Gammad-class Parameter-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 DataCamp Workspace