powered by
Convert categorical variables into discrete variables
sys_discretize(dataset, vars_to_discretize = NULL)
A binary dataframe.
A dataframe of dataset. Datasets used to establish evaluation criteria.
Variables or columns to be discretized. Default is NULL.
data(dataset) dis_data <- sys_discretize(dataset, c("Shape", "pH"))
Run the code above in your browser using DataLab