GOF_summary | R Documentation |
Calculate Goodness-of-fit (GOF) metrics for correlation, Kling–Gupta efficiency, mean absolute error, mean error, Nash–Sutcliffe efficiency, percent bias, root-mean-square error, normalized root-mean-square error, and volumetric efficiency, and output into a table.
GOF_summary(
mod,
obs,
metrics = c("cor", "kge", "mae", "me", "nse", "pb", "rmse", "nrmse", "ve"),
censor_threshold = NULL,
censor_symbol = NULL,
na.rm = TRUE,
kge_modified = FALSE,
nse_j = 2,
rmse_normalize = c("mean", "range", "stdev", "iqr", "iqr-1", "iqr-2", "iqr-3", "iqr-4",
"iqr-5", "iqr-6", "iqr-7", "iqr-8", "iqr-9", NULL),
...
)
mod |
'numeric' vector. Modeled or simulated values. Must be same length as |
obs |
'numeric' vector. Observed or comparison values. Must be same length as |
metrics |
'character' vector. Which GOF metrics should be computed and output. Default is
|
censor_threshold |
'numeric' value. Threshold to censor values on utilizing
|
censor_symbol |
'character' string. Inequality symbol to censor values based on
|
na.rm |
'boolean' |
kge_modified |
'boolean' |
nse_j |
'numeric' value. Exponent value for modified NSE (mNSE) equation, utilized if
|
rmse_normalize |
'character' value. Normalize option for NRMSE, utilized if "nrmse" option
is in paramter |
... |
Further arguments to be passed to or from |
See GOF_correlation_tests
, GOF_kling_gupta_efficiency
,
GOF_mean_absolute_error
, GOF_mean_error
,
GOF_nash_sutcliffe_efficiency
, GOF_percent_bias
, GOF_rmse
,
and GOF_volumetric_efficiency
.
A tibble (see tibble::tibble
) with GOF metrics
censor_values
, GOF_correlation_tests
,
GOF_kling_gupta_efficiency
,
GOF_mean_absolute_error
, GOF_mean_error
,
GOF_nash_sutcliffe_efficiency
, GOF_percent_bias
,
GOF_rmse
,
GOF_volumetric_efficiency
GOF_summary(mod = example_mod$streamflow_cfs, obs = example_obs$streamflow_cfs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.