dnNormal
- Normal Distribution
mean : | Real (pass by const reference) |
The mean parameter. | |
Default : 0 | |
sd : | RealPos (pass by const reference) |
The standard deviation parameter. | |
Default : 1 |
# we simulate some observations
x <- rnorm(n=10,mean=5,sd=10)
# let's see what the minimum is (you could do the max too)
min(x)
# let's also see what the mean and the variance are
mean(x)
var(x)
sd(x)