list_fevd | R Documentation |
Fits an extreme value distribution to each element of a list of annual maxima series, optionally using non-stationary covariates, and returns a table of fitted parameters.
list_fevd(
lst,
evd_mod_str,
nsloc = NULL,
outfile = NULL,
pc_complete = 0.8,
minyear = 1800,
maxyear = 2100,
mslAtt = "annMean"
)
lst |
A
If non-stationary fitting is required, each element may also include an |
evd_mod_str |
A |
nsloc |
Optional |
outfile |
Optional |
pc_complete |
Numeric scalar (0-1). Minimum completeness fraction for a year to be included. Defaults to |
minyear |
Numeric. Minimum calendar year to include. Defaults to |
maxyear |
Numeric. Maximum calendar year to include. Defaults to |
mslAtt |
|
A data.frame
with one row per list element, containing the parameters returned by evd_params()
for each annual-max series.
dates = seq.Date(as.Date("1990-01-01"),as.Date("2019-12-31"), "day")
lst = lapply(1:10,function(x) loopevd::annual_max(data.frame(date = dates,
sea_level = stats::rnorm(length(dates),mean=x/10,sd = x),
zero = rep(0,length(dates)))))
loopevd::list_fevd(lst,"fgumbel",pc_complete=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.