distr (version 2.2.2)

NormParameter-class: Class "NormParameter"

Description

The parameter of a normal distribution, used by Norm-class

Arguments

Objects from the 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.

Extends

Class "Parameter", directly.

concept

  • parameter
  • Gaussian distribution
  • Normal distribution
  • S4 parameter class
  • location scale family

See Also

Norm-class Parameter-class

Examples

Run this code
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.

Run the code above in your browser using DataCamp Workspace