Suppose A is a fixed factor and B is a random factor. A and B are crossed. Another random factor C is nested in B. Taking into account the AB and AC interactions, how should I fit the model using lme function in the nlme package? Thanks.
Tell me more
×
Cross Validated is a question and answer site for
statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.
migrated from stackoverflow.com May 6 '12 at 18:22
|
The tricky part here is to specify the right formula.
Here For a basic introduction to nlme, I recommend this document. |
|||||||
|
lmer()in the lme4 package? See e.g. this book chapter – guest May 7 '12 at 0:05