| UniNormParameter-class {distr} | R Documentation |
The parameter of a univariate 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
generated automatically when an object of the class Norm is
instantiated.
sd:"numeric":
the sd of a univariate normal distributionmean:"numeric":
the mean of a univariate normal distributionname:"character":
a name / comment for the parameters
Class "NormParameter", directly.
Class "Parameter", by class "NormParameter".
signature(.Object = "UniNormParameter"):
initialize methodsignature(object = "UniNormParameter"):
returns the slot mean of the parameter of the distributionsignature(object = "UniNormParameter"):
modifies the slot mean of the parameter of the distributionsignature(object = "UniNormParameter"):
returns the slot sd of the parameter of the distributionsignature(object = "UniNormParameter"):
modifies the slot sd of the parameter of the distribution
Thomas Stabla statho3@web.de,
Florian Camphausen fcampi@gmx.de,
Peter Ruckdeschel Peter.Ruckdeschel@itwm.fraunhofer.de,
Matthias Kohl Matthias.Kohl@stamats.de
Norm-class
NormParameter-class
Parameter-class
W <- new("UniNormParameter", mean = 0, sd = 1)
sd(W) # sd of this distribution is 1
sd(W) <- 2 # sd of this distribution is now 2