a vector of estimate, var.cov, AIC, centered and scaled values
Arguments
x
numeric vector of data to be fitted.
evd_mod_str
either a string "fgumbel", "fgumbelx" or "fgev" from the extreme value distribution (evd) in the evd package
nsloc
A data frame with the same number of rows as the length of x, for linear modelling of the location parameter. The data frame is treated as a covariate matrix (excluding the intercept). A numeric vector can be given as an alternative to a single column data frame.
empty_evd_params
A preallocated vector or array used to store the return value when fitting fails
ntries
number of tries to fit the evd
silent
logical: should the report of error messages be suppressed?
returncs
logical: should the centered and scaled values be returned
# Ten records of 20 random data generated from the fgumbel EVDam = lapply(1:10, function(x) evd::rgumbel(20))
tab = as.data.frame(t(sapply(am,function(x) evd_params(x,"fgumbel"))))