Description Usage Arguments Examples
Return the flood quantile of annual maximum distribution and Confident intervals are provided by bootstrap.
1 2 3 4 |
obj |
Output from |
q |
Probabilities associated to the return level. For example,
a 100 years return period is equivalent to |
se |
Return the standard deviation of the return level using the delta method. The fitted model must |
ci |
Method to compute the confident interval. One of |
alpha |
Probability outside the confident interval. |
nsim |
Number of simulation use for resampling. |
out.matrix |
Logical. Should the resampling be returned. If true,
a list is returned containing the prediction table ( |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #' ## Extract an time series of annual maxima
x <- ExtractAmax(flow~date, flowStJohn)$flow
## Fitting of GEV distribution using L-moments
fit <- FitAmax(x,'gev', method = 'mle')
## Get the estimated quantile of 10 and 100 years return period
rp <- 1-1/c(10,100)
predict(fit, rp)
predict(fit, se = TRUE, ci = 'delta')
## The bootstrap sample used for CI are returned
fit <- FitAmax(x,'gev', varcov = FALSE)
boot <- predict(fit, rp, se = FALSE, ci = 'boot',
nsim = 500, out.matrix = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.