View source: R/MECC_functions.R
get_return_periods | R Documentation |
function to obtain the return period of the copula to particular event features (based on the probability of the marginals)
get_return_periods(data, d, marginal_mult, copula_mult, p_values)
data |
data frame with seven columns containing years, severity and duration, its transformations and the entropy-based marginals. Preferably the output of 'get_marginal_distribution()' |
d |
a small value between zero and one. It is used bind the distribution to a open interval between zero and one, i.e. ]0,1[ |
marginal_mult |
data frame with three columns (three multipliers) and two rows (severity and duration). Preferably the output of 'get_marginal_multipliers()' |
copula_mult |
vector with the six copula lagrange multipliers (in this orther: *Lambda_0*, *Lambda_1*, and *Lambda_2*, *Gamma_1*, *Gamma_2*, and *Lambda_3*). Preferably the output from 'get_copula_multipliers()' |
p_values |
vector with values between 0 and 1, they are probabilities of interest. Default = 'c(0.8,0.9,0.95,0.98,0.99)' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.