[R] predict nlme syntax

Douglas Bates bates at stat.wisc.edu
Tue May 10 15:33:08 CEST 2005


Petr Pikal wrote:
> Dear all
> 
> Please help me with correct syntax of predict.nlme.
> I would like to predict from nlme object for new data.
> I used predict(fit.nlme6, data=newdata) but I have always got 
> fitted values, no matter how I changed newdata.
> 
> I have

The argument's name is newdata, not data.




More information about the R-help mailing list