View source: R/EDM_ComputeError.R
| ComputeError | R Documentation |
Pearson rho, MAE, CAE and RMSE between observations and predictions.
ComputeError(obs, pred, digits = 6)
obs |
Numeric vector of observations. |
pred |
Numeric vector of predictions aligned with |
digits |
Rounding applied to each statistic. |
A named list with elements rho, MAE, CAE and RMSE.
ComputeError(1:10 + 0, c(1:9 + 0, 8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.