researchdatapod.com
How to Solve R Error in eval(predvars, data, env): object not found
If you try to use the predict() function and the column names in the test data frame do not match those in the data frame used to fit the model, you will raise the error in eval(predvars, data, env…