qevd_vector: Return a Vector of EVD Quantiles

View source: R/loopFuns.R

qevd_vectorR Documentation

Return a Vector of EVD Quantiles

Description

Return a Vector of EVD Quantiles

Usage

qevd_vector(x, p, evd_mod_str, interval = NULL, lower.tail = TRUE, nams = NULL)

Arguments

x

vector of EVD parameters

p

vector of probabilities.

evd_mod_str

either a string "fgumbel", "fgev" or "fgumbelx" from the extreme value distribution (evd) in the evd package

interval

A length two vector containing the end-points of the interval to be searched for the quantiles, passed to the uniroot function.

lower.tail

Logical; if TRUE (default), P (x \le y), otherwise P (X > x).

nams

names of the values of x (optional)

Value

gives the quantile function corresponding to p

See Also

evd::qgev(), evd::qgumbelx()

Examples

qevd_vector(c(1,0.5),1-0.05,"fgumbel",nams = c("loc","scale"))
df = data.frame(loc = 1,scale = 0.5)
qevd_vector(df,1-0.05,"fgumbel")


loopevd documentation built on June 23, 2025, 5:09 p.m.