View source: R/ctool_calibration.R
| ctool_calibration_metrics | R Documentation |
Calculates performance metrics between observed and simulated SOC values.
ctool_calibration_metrics(observed, simulated)
observed |
Numeric vector with observed values. |
simulated |
Numeric vector with simulated values. |
The returned 'd_index' is the Willmott index of agreement.
A data frame with 'd_index', 'RMSE', 'R2', 'Bias', 'MAE', and 'n'.
Willmott, C. J. (1981). On the validation of models. Physical Geography, 2(2), 184-194.
ctool_calibration_metrics(
observed = c(50, 52, 55),
simulated = c(49, 53, 54)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.