Re: [R] Error with predict and newdata

2015-08-08 Thread David Winsemius
On Aug 7, 2015, at 2:41 PM, kira taylor wrote: Hi! I am trying to use predict to apply my model to data from one time period to see what might be the values for another time period. I did this successfully for one dataset, and then tried on another with identical code and got the

Re: [R] Error with predict and newdata

2015-08-08 Thread Ben Bolker
David Winsemius dwinsemius at comcast.net writes: On Aug 7, 2015, at 2:41 PM, kira taylor wrote: Hi! I am trying to use predict to apply my model to data from one time period to see what might be the values for another time period. I did this successfully for one dataset, and

[R] Error with predict and newdata

2015-08-07 Thread kira taylor
Hi! I am trying to use predict to apply my model to data from one time period to see what might be the values for another time period. I did this successfully for one dataset, and then tried on another with identical code and got the following error: Error in eval(predvars, data, env) :