RobExtremes (version 1.3.0)

GEV: Generating function for GEV-class

Description

Generates an object of class "GEV".

Usage

GEV(loc = 0, scale = 1, shape = 0, location = loc)

Value

Object of class "GEV"

Arguments

loc

real number: location parameter of the GEV distribution.

scale

positive real number: scale parameter of the GEV distribution

shape

non-negative real number: shape parameter of the GEV distribution.

location

real number: location of GEV distribution

Author

Nataliya Horbenko nhorbenko@gmail.com

See Also

GEV-class, dgpd

Examples

Run this code
(P1 <- GEV(loc = 0, scale = 1, shape = 0))
plot(P1)

E(GEV()) 
E(P1)
E(P1, function(x){x^2})
var(P1)
sd(P1)
median(P1)
IQR(P1)
mad(P1)

Run the code above in your browser using DataLab