[R-sig-ME] Structural zeros in lme4
hadley at rice.edu
Wed Oct 6 15:27:27 CEST 2010
> I don't know of an easy way of doing that but, as you are the second
> person in as many weeks to pose such a question, it is obviously a
> situation that we should accommodate.
Well, it's not easy, but you can do:
ra_age_sex <- interaction(ra, age, sex, drop = T)
and then model with
success ~ ra_age_sex + (1|ind)
The hard part is creating the contrasts that take you back to the
questions you're interested in.
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
More information about the R-sig-mixed-models