recipes-role-indicator: Role indicators

recipes-role-indicatorR 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

developer_functions


tidymodels/recipes documentation built on Nov. 29, 2024, 3:05 p.m.