powered by
Pearson rho, MAE, CAE and RMSE between observations and predictions.
ComputeError(obs, pred, digits = 6)
A named list with elements rho, MAE, CAE and RMSE.
Numeric vector of observations.
Numeric vector of predictions aligned with obs.
obs
Rounding applied to each statistic.
ComputeError(1:10 + 0, c(1:9 + 0, 8))
Run the code above in your browser using DataLab