| NormParameter-class {distr} | R Documentation |
The parameter of a normal distribution, used by Norm-class
Objects can be created by calls of the form new("NormParameter", sd, mean).
Usually an object of this class is not needed on its own. It is the
mother-class of the class UniNormParameter, which is generated
automatically when such a distribution is instantiated.
sd:"numeric": the sd of a normal distribution mean:"numeric": the mean of a normal distribution name:"character": a name / comment for the parameters
Class "Parameter", directly.
signature(.Object = "NormParameter"):
initialize methodsignature(object = "NormParameter"):
returns the slot mean of the parameter of the distributionsignature(object = "NormParameter"):
modifies the slot mean of the parameter of the distributionsignature(object = "NormParameter"):
returns the slot sd of the parameter of the distributionsignature(object = "NormParameter"):
modifies the slot sd 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@stamats.de
W <- new("NormParameter", mean = 0, sd = 1)
sd(W) # sd of this distribution is 1.
sd(W) <- 2 # sd of this distribution is now 2.