dnorm(x, mean=0, sd=1) pnorm(q, mean=0, sd=1) qnorm(p, mean=0, sd=1) rnorm(n, mean=0, sd=1)
x,q
| vector of quantiles. |
p
| vector of probabilites. |
n
| number of observations. |
mean
| vector of means. |
sd
| vector of standard deviations. |
mean and standard deviation equal to
sd. dnorm gives the density, pnorm gives the
distribution function qnorm gives the quantile function and
rnorm generates random deviates.
If mean or sd are not specified they assume the default
values of 0 and 1 respectively.
The normal distribution has density
f(x) = 1/(sqrt(2 pi) sigma) e^-((x - mu )^2/(2 sigma^2))