[R] syntax for interactions in lme

2005-10-26 Thread Matthew Forister
Hello, I am trying to make the switch from SAS, and I have a fairly elemental problem with syntax using the nlme package for analyzing mixed models. There was a previous question on this topic posted to this list, so I apologize for redundancy, but I didn't understand the advice given to

Re: [R] syntax for interactions in lme

2005-10-26 Thread Lorenz . Gygax
Host (fixed) Sire (random) Dam nested within Sire (random) Host * Sire (random) Host * Dam within Sire (random) So without the interactions I have: hogmodel = lme(gain ~ host, random = ~1|sire/dam) If I understand correctly, that sire/dam term gives me both Sire and Dam within Sire