rgev: rgev

View source: R/gen.GEV.R

rgevR Documentation

rgev

Description

Random value generator of Generalized Extreme Value distribution

Usage

rgev(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 GEV(loc,scale,shape)

Examples

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

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

Related to rgev in ROOPSD...