[R] series of boxplots
syrvn
mentor_ at gmx.net
Mon Feb 7 12:16:38 CET 2011
hi group,
imagine the following data frame df:
1 2 3 4 ...
A 5 1 ..
A 4 3 ..
A 3 4 ..
B 7 9 ..
B 8 1 ..
B 6 8 ..
I tried the following and some variations to plot this matrix as boxplots:
boxplot(df[1:3,2]~df[1:3,1], xlim=c(1,10))
par(new=TRUE)
boxplot(cpd12[4:6,2]~df[1:3,1], xlim=c(2,10))
par(new=TRUE)
boxplot(df[1:3,3]~df[1:3,1], xlim=c(1,10))
par(new=TRUE)
boxplot(cpd12[4:6,3]~df[1:3,1], xlim=c(2,10))
can anybody help?
Cheers
--
View this message in context: http://r.789695.n4.nabble.com/series-of-boxplots-tp3263938p3263938.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list