View source: R/Matlab_call_functions.R
run_matlab_MECC | R Documentation |
function to run MATLAB stript of MECC
run_matlab_MECC(input_data, input_series)
input_data |
vector with elements in the following order: d = threshold ratio for transformation (default is 0.01, after Singh and Zhang(2018) year_separator = indicates the point of breaking between reference na study datasets export_report = logical - option to export or not a report with informaiton about the copulas export_copula = logical - option to export or not the cumulative and survival copulas values_p = a sequence of numbers (until the end of the file) with values in (0,1) of probabilities of interest to compute the return periods. |
input_series |
dataframe with 3 columns. Columns are YEARS, X1 (SEVERITY), X2(DURATION) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.