Re: [R] ANOVA stuffs_How to save each result from FOR command?

2010-10-19 Thread Liviu Andronic
Hello On Tue, Oct 19, 2010 at 12:16 PM, BumSeok Jeong wrote: > Dear R experts, > > I'm new in R and a beginner in terms of statistics. > It should be simple question, but definitely difficult to solve it by > myself. > > I'd like to see main effect of group(gender: sample size is > different(M:F=

Re: [R] ANOVA stuffs_How to save each result from FOR command?

2010-10-19 Thread jim holtman
Here is how you can get the results back in a list that you can then analyze: results_ezANOVA <- list() for(i in 1:90) { results_ezANOVA[[i]] <- ezANOVA(data=subset(ast.ast_coef, ast.ast_coef$coef_thr==i), dv=.(ast.values), between=.(gender), wid=.(subj), within=.(cond

[R] ANOVA stuffs_How to save each result from FOR command?

2010-10-19 Thread BumSeok Jeong
Dear R experts, I'm new in R and a beginner in terms of statistics. It should be simple question, but definitely difficult to solve it by myself. I'd like to see main effect of group(gender: sample size is different(M:F=23:18) and one of condition(cond) and the interaction at each subset from 90