parse_model function

Converts an R model object into a table.