Fix the mldr dataset to use factors
mldata(mdata)
mdata
A mldr dataset.
A mldr object
toyml <- mldata(toyml)