selectTarget: Select target variable in a data frame

selectTargetR Documentation

Select target variable in a data frame

Description

Select target variable in a data frame

Usage

selectTarget(df, target)

Arguments

df

data frame

target

character specification of the target variable

Value

df with entry target

Examples

df <- data.frame(cbind(x=1:2,
                 y=3:4))
df <- selectTarget(df=df, target="y")


SPOTMisc documentation built on Sept. 5, 2022, 5:06 p.m.