Weibull Distribution

DESCRIPTION:
Functions for the density, cumulative distribution, quantiles and random generation of the Weibull distribution.

USAGE:
dweibull(x, shape, scale=1)
pweibull(q, shape, scale=1)
qweibull(p, shape, scale=1)
rweibull(n, shape, scale=1)

REQUIRED ARGUMENTS:
x:
vector of (positive) quantiles. Missing values (NAs) are allowed.
q:
vector of (positive) quantiles. Missing values (NAs) are allowed.
p:
vector of probabilities. Missing values (NAs) are allowed.
n:
sample size. If length(n) is larger than 1, then length(n) random values are returned.
shape:
vector of (positive-valued) shape parameters.

OPTIONAL ARGUMENTS:
scale:
vector of (positive-valued) scale parameters.

VALUE:
density (dweibull), probability (pweibull), quantile (qweibull), or random sample (rweibull) for the Weibull distribution with shape parameter.

SIDE EFFECTS:
The function rweibull causes creation of the dataset .Random.seed if it does not already exist, otherwise its value is updated.

DETAILS:
Elements of q or p that are missing will cause the corresponding elements of the result to be missing.

SEE ALSO:
set.seed , Exponential .

EXAMPLES:
dweibull(1:8, .2)