Learn R Programming

SPREDA (version 1.2)

plev: The Standard Largest Extreme Value Distribution

Description

The cdf, pdf, quantile function, and random number generation for the standard largest extreme value distribution.

Usage

plev(z)
dlev(z)
qlev(p)
rlev(n)

Value

plev returns cdf, dlev returns pdf, qlev returns quantiles, and rlev returns random samples.

Arguments

z

Vector of values where the cdf or pdf to be evaluated.

p

Vector of probabilities where the quantile function to be evaluated.

n

Number of random samples. If input is a vector, then the number generated is the length of it.

Author

Yili Hong

See Also

psev, dsev, qsev, rsev.

Examples

Run this code
plev(c(2,3))
dlev(c(2,3))
qlev(0.1)
rlev(10)

Run the code above in your browser using DataLab