recipes-role-indicator {recipes} | R Documentation |
Role indicators
Description
This helper function is meant to be used in prep()
methods to identify
predictors and outcomes by names.
Usage
recipes_names_predictors(info)
recipes_names_outcomes(info)
Arguments
info |
data.frame with variable information of columns. |
Value
Character vector of column names.
See Also
[Package recipes version 1.3.1 Index]