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


recipes documentation built on July 4, 2024, 9:06 a.m.