powered by
Only numerical and factor data is allowed, this function helps prepare the data by converting any columns that are not numerical or factor to factor
prim.data.prepare(X)
The data frame to prepare
The same data frame, with only numerical and factor data
# NOT RUN { data(credit) credit <- prim.data.prepare(credit) # }
Run the code above in your browser using DataLab