check_is_categorical {volker} | R Documentation |
Check whether a column selection is categorical
Description
Check whether a column selection is categorical
Usage
check_is_categorical(data, cols, msg = NULL)
Arguments
data |
A data frame. |
cols |
A tidyselection of columns. |
msg |
A custom error message if the check fails. |
Value
boolean Whether the columns are categorical
[Package volker version 3.1.0 Index]