GPareto: Generating function for GPareto-class

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

View source: R/GPareto.R

Description

Generates an object of class "GPareto".

Usage

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

Arguments

loc

real number: location parameter of the GPareto distribution.

scale

positive real number: scale parameter of the GPareto distribution

shape

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

location

alternative argument name for argument 'loc' — to support argument names of package VGAM.

Value

Object of class "GPareto"

Note

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

Author(s)

Nataliya Horbenko nhorbenko@gmail.com

See Also

GPareto-class, dgpd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
(P1 <- GPareto(loc = 1, scale = 1, shape = -0.5))
plot(P1)

E(GPareto()) 
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.