Calculate common error statistics

error_stats(error)

Arguments

error

Vector of errors

Value

Returns a named vector of error statistics including mean error ("ME"), mean absolute error ("MAE"), mean squared error ("MSE") and root mean squared error ("RMSE")