[R] boxplot with grouped variables

2013-05-11 Thread maggy yan
my dataset looked like this in the beginning: Daten V1 V2 V3 1 Dosis Gewicht Geschlecht 2 06.62 m 3 06.65 m 4 05.78 m 5 05.63 m I need box plots for V2 with all combination of V1 and V3, so I deleted the

Re: [R] boxplot with grouped variables

2013-05-11 Thread arun
(x=combin,y=value))+geom_boxplot()+facet_wrap(~V3,scales=free_x,ncol=2) A.K. - Original Message - From: maggy yan kiot...@gmail.com To: R-help@r-project.org Cc: Sent: Saturday, May 11, 2013 11:40 AM Subject: [R] boxplot with grouped variables my dataset looked like

Re: [R] boxplot with grouped variables

2013-05-11 Thread Bert Gunter
It will not work because the presence of the first row means that all the variables are read in as factors, not numeric. You must convert numeric variables to numeric **after** eliminating the first row, or read the data in using read.table(..., head=TRUE). See ?read.table for details. **After**

Re: [R] boxplot with grouped variables

2013-05-11 Thread S Ellison
boxplot(V2~V1+V3, data=Daten) S Ellison From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of maggy yan [kiot...@gmail.com] Sent: 11 May 2013 16:40 To: R-help@r-project.org Subject: [R] boxplot with grouped variables my dataset looked