cdfnor | R Documentation |
Distribution function and quantile function of the normal distribution.
cdfnor(x, para = c(0, 1))
quanor(f, para = c(0, 1))
x |
Vector of quantiles. |
f |
Vector of probabilities. |
para |
Numeric vector containing the parameters of the distribution,
in the order |
The normal distribution with
location parameter \mu
and
scale parameter \sigma
has probability density function
f(x)={1\over \sigma\sqrt{2\pi}} \exp\lbrace-(x-\mu)^2/(2 \sigma^2)\rbrace.
cdfnor
gives the distribution function;
quanor
gives the quantile function.
The functions expect the distribution parameters in a vector,
rather than as separate arguments as in the standard R
distribution functions pnorm
and qnorm
.
pnorm
for the standard R version of the normal distribution.
cdfgno
for the generalized normal distribution,
which generalizes the normal distribution.
# Random sample from the normal distribution
# with mean 0 and standard deviation 3.
quanor(runif(100), c(0,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.