Your question is entirely too complex for me to try to answer in a
reasonable amount of time, especially since your example in not self
contained.
If you would still like help on this, I suggest you try to generate a
self contained example that is as simple as you can make
Hi
I am following the model building strategy that is outlined in the Pinheiro and
Bates book wrt including covariates but am having a problem with the plot.
Basically I am using 4 covariates (1 of them is continuous) and 3 of them are
fine but the 4th one is being shown as a scatterplot
Greg,
be careful using attach() and detach(). From the syntax snippets you
showed it seems that you did create an object pcat (factor
variable), but you did not change the respective variable in your
data frame.
Try to remove pcat and see what happens do the results of lme()!
Dirk