This function is the engine for calc_mse and
calc_rmse. It was only created to remove the root
argument from the user in the main calc_mse function
calc_mse_(data, age_col = "age", root = FALSE)A data.frame as created by assign_ages
Character. Name of the age column in data
Logical. computer MSE (FALSE, default) or RMSE (TRUE)