error_stats function

Calculate common error statistics

Calculate common error statistics

error_stats(error)

Arguments

  • error: Vector of errors

Returns

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")