cdfnor {lmom} | R Documentation |
Normal distribution
Description
Distribution function and quantile function of the normal distribution.
Usage
cdfnor(x, para = c(0, 1))
quanor(f, para = c(0, 1))
Arguments
x |
Vector of quantiles. |
f |
Vector of probabilities. |
para |
Numeric vector containing the parameters of the distribution,
in the order |
Details
The normal distribution with
location parameter and
scale parameter
has probability density function
Value
cdfnor
gives the distribution function;
quanor
gives the quantile function.
Note
The functions expect the distribution parameters in a vector,
rather than as separate arguments as in the standard R
distribution functions pnorm
and qnorm
.
See Also
pnorm
for the standard R version of the normal distribution.
cdfgno
for the generalized normal distribution,
which generalizes the normal distribution.
Examples
# Random sample from the normal distribution
# with mean 0 and standard deviation 3.
quanor(runif(100), c(0,3))
[Package lmom version 3.0 Index]