GEV: Generating function for GEV-class

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/GEV.R

Description

Generates an object of class "GEV".

Usage

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

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

Value

Object of class "GEV"

Note

The class "GEV" is based on the code provided by the package evd by Alec Stephenson.

Author(s)

Nataliya Horbenko nhorbenko@gmail.com

See Also

GEV-class, dgpd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
(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)

RobExtremes documentation built on May 2, 2019, 3:44 p.m.

Related to GEV in RobExtremes...