Skip to contents

Assert that test_col is of logical type

Usage

assert_test_col(df, test_col)

Arguments

df

Data frame of model data.

test_col

Name of logical column specifying which response values to remove for testing the model's predictive accuracy. If NULL, ignored. See model_error() for details on the methods and metrics returned.