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

2008-04-16 Thread Claus Wilke
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

Re: [R] Executing a telnet session from R

2008-04-06 Thread Claus Wilke
[[alternative HTML version deleted]] > > __ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html and provide commented, minimal

Re: [R] pearson's correlation

2008-04-05 Thread Claus Wilke
: > x=rnorm(100) > y=rnorm(100)+x > cov(x,y)/(sd(x)*sd(y)) [1] 0.7561354 > cor(x,y) [1] 0.7561354 If Excel gives you something else, I'd rather doubt Excel than R. Claus -- Claus Wilke Section of Integrative Biology and Center for Computational Biology and Bioinformatics Uni

Re: [R] lme4: How to specify nested factors, meaning of : and %in%

2008-04-04 Thread Claus Wilke
uot;I would like to remove the random effect from Treatment". 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 [EMAIL

[R] lme4: How to specify nested factors, meaning of : and %in%

2008-04-04 Thread Claus Wilke
tell me what's going on? Below follows the R output for the various fits. Thanks a lot for your help, Claus Wilke [1] The more I think about this example, the more I belive that the formula should actually be Glycogen~Treatment+(1|Rat/Treatment/Liver). However, for the sake of the argume