normal {lestat} | R Documentation |
Create an object representing a univariate normal distribution.
normal(expectation = 0, lambda, P = 1)
expectation |
The expectation of the distribution. |
lambda |
THE NATURAL LOGARITHM OF THE STANDARD DEVIATION OF THE DISTRIBUTION. Thus, if the desired standard deviation is |
P |
If given, this argument specifies the precision of the distribution, i.e., the inverse of the variance. |
A univariate normal probability distribution.
Petter Mostad <mostad@chalmers.se>
dist <- normal(3, log(0.7))
variance(dist)
dist <- normal(5, log(0.49)/2)
variance(dist)
dist <- normal(7, P = 2)
variance(dist)