qgev {ROOPSD} | R Documentation |
qgev
Description
Inverse of CDF (or SF) function of Generalized Extreme Value distribution
Usage
qgev(p, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)
Arguments
p |
[vector] Vector of probabilities |
loc |
[vector] Location parameter |
scale |
[vector] Scale parameter |
shape |
[vector] Shape parameter |
lower.tail |
[bool] Return inverse of CDF if TRUE, else return inverse of survival function |
Value
[vector] Inverse of CDF or SF of GEV for probabilities p
Examples
## Data
loc = 1
scale = 0.5
shape = -0.2
p = base::seq( 0.01 , 0.99 , length = 100 )
q = qgev( p , loc = loc , scale = scale , shape = shape )
[Package ROOPSD version 0.3.9 Index]