distr (version 2.3.1)

UniNormParameter-class: Class "UniNormParameter"

Description

The parameter of a univariate 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 generated automatically when an object of the class Norm is instantiated.

Extends

Class "NormParameter", directly. Class "Parameter", by class "NormParameter".

concept

  • parameter
  • Univariate normal / Gaussian distribution
  • S4 parameter class

See Also

Norm-class NormParameter-class Parameter-class

Examples

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

Run the code above in your browser using DataCamp Workspace