GPareto: Generating function for GPareto-class

View source: R/GPareto.R

GParetoR Documentation

Generating function for GPareto-class

Description

Generates an object of class "GPareto".

Usage

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

(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 Feb. 12, 2024, 3:01 a.m.