dgevr {gevreg}R Documentation

GEV density, distribution and quantile function

Description

Vectorized density, distribution and quantile function for the GEV distribution.

Usage

dgevr(x, loc = 0, scale = 1, shape = 0, log = FALSE)
pgevr(q, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)
qgevr(p, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)

Arguments

x, q

vector of quantiles for dgevr and pgevr.

p

vector of probabilitis for qgevr.

loc, scale, shape

vector of location, scale and shape parameters.

log

locigal; if TRUE, probabilities p are given as log(p).

lower.tail

logical; if TRUE (default), probabilities are Pr[X <= x], otherwise, Pr[X > x].

Details

dgevr,pgevr,qgevr GEV density, distribution and quantile function which can take location, scale and shape parameters as vector. Simply modifed versions of dgev, pgev and qgev of package SpatialExtremes.

Value

If not specified, "loc", "scale" and "shape" assume the default values of "0", "1", and "0", respectively.

See Also

SpatialExtremes

Examples

dgevr(seq(10,100,10))
dgevr(rep(seq(10,100,10),3),loc=1:3,scale=1:3,shape=rep(0,3))

[Package gevreg version 0.1-7 Index]