Message-ID: <CAHT1vpiJKAAY_nvR+UOUMu4yacVBz8k6ykQY58viU5brs=fjGw@mail.gmail.com>
Date: 2014-10-28T09:03:27Z
From: Roman Luštrik
Subject: nlme predict
In-Reply-To: <544E41CD.4050705@ipb.pt>
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:
> 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
>
> --
> Vasco A. P. Cadavez, PhD
> Departamento de Ci?ncia Animal & Centro de Investiga??o de Montanha (CIMO)
> Escola Superior Agr?ria do Instituto Polit?cnico de Bragan?a
> Campus de Santa Apol?nia, Apartado 1172
> 5301-854 Bragan?a Portugal
> Telefone: (+351) 273 303 304
> Fax: (+351) 273 325 405
> e-mail: vcadavez at ipb.pt
>
> _______________________________________________
> R-sig-mixed-models at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>
--
In God we trust, all others bring data.
[[alternative HTML version deleted]]