rgev {ROOPSD} | R 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 )
[Package ROOPSD version 0.3.9 Index]