Skip to content

nlme predict

2 messages · Vasco Cadavez, Roman Luštrik

#
Hi,

I'm using nlme package and I have this error with the predict function:

newdat$pred <- predict(Nlme5, newdata=newdat)
Error in getParsNlme(plist, object$map$fmap, object$map$rmapRel, 
object$map$bmap, : number of items to replace is not a multiple of 
replacement length

Somebody can help?


Cheers,

Vasco
#
Have you including all the variables into `newdat` used in the model.

Cheers,
Roman
On Mon, Oct 27, 2014 at 1:59 PM, Vasco Cadavez <vcadavez at ipb.pt> wrote: