Displaying 1 result from an estimated 1 matches for "predictlm".
Did you mean:
predict
2005 Jun 08
0
bug in predict.lme?
...#39;ve come across a problem in predict.lme. Assigning a model formula to a variable and then using this variable in lme (instead of typing the formula into the formula part of lme) works as expect. However, when performing a predict on the fitted model I gan an error messag - predict.lme (but not predictlm) seems to expect a 'properly' typed in formula and a cannot extract the formula from the variable. THe code below demonstrates this.
Is this a known or expected behavour of predict.lme or is this a bug?
kind regards,
Arne
(R-2.1.0)
> library(nlme)
...
> mod <- distance ~ age...