calc_mse_ {halk}R Documentation

Backend helper function to compute MSE or RMSE

Description

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

Usage

calc_mse_(data, age_col = "age", root = FALSE)

Arguments

data

A data.frame as created by assign_ages

age_col

Character. Name of the age column in data

root

Logical. computer MSE (FALSE, default) or RMSE (TRUE)


[Package halk version 0.0.5 Index]