ExpParameter-class {distr} | R Documentation |
The parameter of an exponential distribution, used by Exp-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.
rate
:"numeric"
: the rate of an exponential distribution name
:"character"
: a name / comment for the parameters
Class "Parameter"
, directly.
signature(.Object = "ExpParameter")
: initialize method signature(object = "ExpParameter")
: returns the slot rate
of the parameter of the distribution signature(object = "ExpParameter")
: modifies the slot rate
of the parameter of the distribution
Thomas Stabla Thomas.Stabla@uni-bayreuth.de,
Florian Camphausen Florian.Camphausen@uni-bayreuth.de,
Peter Ruckdeschel Peter.Ruckdeschel@uni-bayreuth.de,
Matthias Kohl Matthias.Kohl@uni-bayreuth.de
W=new("ExpParameter", rate=1) rate(W) # rate of this distribution is 1. rate(W)=2 # rate of this distribution is now 2.