
Last chance! 50% off unlimited learning
Sale ends in
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."Parameter"
, directly.Norm-class
Parameter-class
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 DataLab