rmev {mevd}R Documentation

The Metastatistical Extreme Value Distribution (MEVD)

Description

Density, distribution function, quantile function and random generation for the MEV distribution with shape parameter 'w', scale parameter 'c' and mean number of wet days per year 'n'.

Usage

rmev(N, w, c, n)
pmev(q, w, c, n)
qmev(p, w, c, n)
dmev(x, w, c, n)

Arguments

x,q

vector or single values of quantiles for dmev and pmev.

p

vector or single value of probabilities for qmev.

N

Number of observations.

w,c

vector or single values of shape and scale parameter of the MEV distribution.

n

Mean number of wet events per year. Can be a vector for yearly MEV calculations (i.e. one value per year), or a single value for the simplified MEV (see details).

Details

rmev,pmev,qmev,dmev blabla.

Value

No default values are assumed for the shape and scale parameters.

Examples

dmev(x=1000,w=0.7,c=70,n=100)
dmev(x=1000,w=c(0.7,0.8),c=c(70,80),n=c(100,120))

qmev(p=0.5,w=0.7,c=70,n=100)
qmev(p=0.5,w=c(0.7,0.8),c=c(70,80),n=c(100,120))

rmev(N=10,w=0.7,c=70,n=100)
rmev(N=10,w=c(0.7,0.8),c=c(70,80),n=c(100,120))

[Package mevd version 0.1-0 Index]