Re: [R] need means on all boxplots, but only half of them got that

2013-05-14 Thread S Ellison
>boxplot( Daten$weight~interaction(Daten$Dosis,Daten$sex, drop=TRUE)) >means<-tapply( Daten$weight, Daten$Dosis, mean) >points(means, pch=5, col="red", lwd=5) > > ...only the boxplots for male got that point on them, > its really weird because I don't thin

Re: [R] need means on all boxplots, but only half of them got that

2013-05-11 Thread arun
t.org Cc: Sent: Saturday, May 11, 2013 8:57 PM Subject: [R]  need means on all boxplots, but only half of them got that I tried to draw a point on all boxplots for their means, I did: boxplot( Daten$weight~interaction(Daten$Dosis,Daten$sex, drop=TRUE)) means<-tapply( Daten$weight, Daten$Dosis,

Re: [R] need means on all boxplots, but only half of them got that

2013-05-11 Thread arun
11, 2013 8:57 PM Subject: [R] need means on all boxplots, but only half of them got that I tried to draw a point on all boxplots for their means, I did: boxplot( Daten$weight~interaction(Daten$Dosis,Daten$sex, drop=TRUE)) means<-tapply( Daten$weight, Daten$Dosis, mean) points(means, pch=5,

[R] need means on all boxplots, but only half of them got that

2013-05-11 Thread maggy yan
I tried to draw a point on all boxplots for their means, I did: boxplot( Daten$weight~interaction(Daten$Dosis,Daten$sex, drop=TRUE)) means<-tapply( Daten$weight, Daten$Dosis, mean) points(means, pch=5, col="red", lwd=5) but only the boxplots for male got that point on them, its really weird becau