rgpd: rgpd

View source: R/gen.GPD.R

rgpdR Documentation

rgpd

Description

Random value generator of Generalized Pareto distribution

Usage

rgpd(n = 1, loc = 0, scale = 1, shape = 0)

Arguments

n

[int] Numbers of values generated

loc

[vector] Location parameter

scale

[vector] Scale parameter

shape

[vector] Shape parameter

Value

[vector] Random value following a loc + GPD(scale,shape)

Examples

## Data
loc = 1
scale = 0.5
shape = -0.2
gev = rgpd( 100 , loc = loc , scale = scale , shape = shape )

ROOPSD documentation built on Sept. 11, 2023, 9:06 a.m.

Related to rgpd in ROOPSD...