powered by
convert the columns selected to disjunctive.
disjunctive_data(data, vars)
the dataset to be converted.
a vector with the name of columns.
# NOT RUN { disjunctive_data(iris, "Species") # }
Run the code above in your browser using DataLab