normal {lestat} | R Documentation |
A Normal Distribution
Description
Create an object representing a univariate normal distribution.
Usage
normal(expectation = 0, lambda, P = 1)
Arguments
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. |
Value
A univariate normal probability distribution.
Author(s)
Petter Mostad <mostad@chalmers.se>
See Also
Examples
dist <- normal(3, log(0.7))
variance(dist)
dist <- normal(5, log(0.49)/2)
variance(dist)
dist <- normal(7, P = 2)
variance(dist)
[Package lestat version 1.9 Index]