[R] Plotting individual trajectories from individual growth model
dadrivr
dadrivr at gmail.com
Wed Feb 23 21:40:42 CET 2011
Thanks guys,
I had to change two things to get it to work:
1. As Dennis pointed out, all of the variables in the model had to be
variable names in the preds data frame.
2. I had to use na.pass in the following statement to be able to merge the
predicted values with the preds data frame because of all the NAs among the
predicted values:
preds$predicted <- predict(lmemodel, preds, na.action=na.pass)
Thanks again for your help on this!
--
View this message in context: http://r.789695.n4.nabble.com/Plotting-individual-trajectories-from-individual-growth-model-tp3315494p3321683.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list