[R] repost: problems with lm for nested fixed-factor Anova (ANOVA I)

2009-02-12 Thread Sergii Ivakhno
Dear R users, I have posted this question several days ago and received not a single suggestion. I believe I have provided sufficient information for at least some help. Here I repost the question with several modifications. I want to run nested fixed-factor Anova in R on different experiments. I

Re: [R] repost: problems with lm for nested fixed-factor Anova (ANOVA I)

2009-02-12 Thread Sergii Ivakhno
Deal All I am terribly sorry for forgetting to provide a toy example. Obviously it can not reproduce the problem of the running t ime. x1=c(rep(1,25),rep(2,25),rep(3,50)) z1=c(rep(1,12),rep(2,13),rep(3,12),rep(4,13),rep(5,12),rep(6,13),rep(7,2 5)) y1 = rnorm(100,0,1)

Re: [R] repost: problems with lm for nested fixed-factor Anova (ANOVA I)

2009-02-12 Thread Richard M. Heiberger
tmp - data.frame(y=rnorm(15000), x1 - factor(sample(48, 15000, replace=TRUE)), z1 - factor(sample(242, 15000, replace=TRUE))) system.time( tmp.aov - aov(y ~ x1/z1, data=tmp) ) ## exceeds memory tmp2 - data.frame(y=rnorm(15000),