Description Usage Arguments Value Author(s) See Also Examples
Create an object representing a univariate normal distribution.
1 | 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 s, the second argument should be \log(s). If the desired variance is v, the second argument should be \log(v)/2. The default is a standard deviation of 1. An alternative to specifying this argument is to specify the precision parameter P. |
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>
1 2 3 4 5 6 |
Loading required package: MASS
[1] 0.49
[1] 0.49
[1] 0.5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.