[R-sig-ME] nlme predict

romunov romunov at gmail.com
Tue Oct 28 10:03:27 CET 2014


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]]



More information about the R-sig-mixed-models mailing list