revd | R Documentation |
Drawing random numbers from the GEV or GP distribution
revd(n, location = NULL, scale = NULL, shape = NULL, threshold = NULL, model = c("gev", "gpd"), silent = FALSE)
n |
Number of samples to draw |
location |
Of the GEV distribution. Default = NULL. |
scale |
Of the GEV/GP distribution. Default = NULL. |
shape |
Of the GEV/GP distribution. Default = NULL. |
threshold |
Used in the GP distribution. This parameter is optional but should be provided in order to create a representation of the fitted data exceedance. Default = NULL. |
model |
String determining whether to calculate the initial parameters of the GEV ("gev") or GP ("gpd") function. Default = "gev" |
silent |
Whether to display warnings or not. Default = FALSE. |
This function was originally part of the extRemes
package. But since one had to provide the threshold, I
couldn't use it insight the fit.gpd
function. In
contrast to the original implementation this function only
features constant location, scale, and shape parameters.
If you want to do time dependent analysis of extreme events,
please refer to the original package.
Numerical vector of length n drawn from the corresponding distribution.
Philipp Mueller
Other extremes: block.list
,
block.xts
, block
,
decluster.list
,
decluster.xts
, decluster
,
extremal.index
, gev.density
,
gpd.density
, qevd
,
return.level.climex.fit.gev
,
return.level.climex.fit.gpd
,
return.level.list
,
return.level.numeric
,
return.level
, rlevd
,
threshold.list
,
threshold.xts
, threshold
,
upper.limit.climex.fit.gev
,
upper.limit.climex.fit.gpd
,
upper.limit.list
,
upper.limit.numeric
,
upper.limit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.