Added factor and modelType columns to the "fitted" data frame.