Re: [R] anova in unbalanced data

2012-08-14 Thread S Ellison
> -Original Message- > Say I have the following data: > > a<-data.frame(col1=c(rep("a",5),rep("b",7)),col2=runif(12)) > > a_aov<-aov(a$col2~a$col1) > > summary(aov) > > > Note that there are 5 observations for a and 7 for b, thus is > unbalanced. What would be the correct way of d

Re: [R] anova in unbalanced data

2012-08-13 Thread arun
HI, Check this link: https://stat.ethz.ch/pipermail/r-help/2011-April/273858.html A.K. - Original Message - From: Sachinthaka Abeywardana To: r-help@r-project.org Cc: Sent: Monday, August 13, 2012 10:09 PM Subject: [R] anova in unbalanced data Hi all, Say I have the following

[R] anova in unbalanced data

2012-08-13 Thread Sachinthaka Abeywardana
Hi all, Say I have the following data: a<-data.frame(col1=c(rep("a",5),rep("b",7)),col2=runif(12)) a_aov<-aov(a$col2~a$col1) summary(aov) Note that there are 5 observations for a and 7 for b, thus is unbalanced. What would be the correct way of doing anova for this set? Thanks, Sachin