distr (version 1.8)

ExpParameter-class: Class "ExpParameter"

Description

The parameter of an exponential distribution, used by Exp-class and DExp-class

Arguments

Objects from the Class

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

Extends

Class "Parameter", directly.

See Also

Exp-class DExp-class Parameter-class

Examples

Run this code
W=new("ExpParameter", rate=1)
rate(W) # rate of this distribution is 1.
rate(W)=2 # rate of this distribution is now 2.

Run the code above in your browser using DataCamp Workspace