powered by
Cumulative distribution function (or survival function) of Generalized Extreme Value distribution
pgev(q, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)
[vector] CDF (or SF) of GEV at x
[vector] Vector of quantiles
[vector] Location parameter
[vector] Scale parameter
[vector] Shape parameter
[bool] Return CDF if TRUE, else return survival function
## Data loc = 1 scale = 0.5 shape = -0.2 x = base::seq( -5 , 5 , length = 1000 ) cdfx = pgev( x , loc = loc , scale = scale , shape = shape )
Run the code above in your browser using DataLab