Converts all factor variables in a dataframe to a set of binary variables.
idat(x, allcat = FALSE, keep = "Freq")
dataframe
Whether or not to keep all categories or leave the last one out.
Variables which are kept unchanged such as a frequency variable.
dataframe
# NOT RUN {
require(MASS)
idat(housing)
# }
Run the code above in your browser using DataLab