[R] Meaning of /, :, and %in% in lmer

From: Claus Wilke <cwilke_at_mail.utexas.edu>
Date: Wed, 16 Apr 2008 14:51:20 -0500


I asked this question a little while ago ( https://stat.ethz.ch/pipermail/r-help/2008-April/158761.html ) but got no response. Can anybody explain to me the difference between /, :, and %in% in the definition of random effects in lmer, such as: (1|A/B), (1|A:B), (1|B %in% A)?

My understanding is that (1|A/B) is the same as (1|A) + (1|A:B), but I have not seen this stated explicitly anywhere. And I don't understand why (1|A/B) seems to be different from (1|A) + (1|B %in% A), isn't that what %in% means?

Thanks a lot for your help,
  Claus Wilke

Claus Wilke
Section of Integrative Biology 
 and Center for Computational Biology and Bioinformatics 
University of Texas at Austin
1 University Station C0930
Austin, TX 78712
512 471 6028

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 16 Apr 2008 - 19:55:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Apr 2008 - 13:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive