to_data.Rd
Convert a object to fastan data format
to_data(obj)
object to be turned into class in question.