That works great by the way. Thanks very much for your help!
--
View this message in context:
http://r.789695.n4.nabble.com/Adding-mean-values-to-boxplots-tp4474700p4478031.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-proj
Great. Thanks very much for that... and for pointing out the obvious error!
Much appreciated.
Tom
--
View this message in context:
http://r.789695.n4.nabble.com/Adding-mean-values-to-boxplots-tp4474700p4475472.html
Sent from the R help mailing list archive at Nabble.com.
You want to assign your call to boxplot as an object that contains the
plot information
set.seed(1)
b <- matrix(rgamma(100,(1:4)/2,.5),nc=4)
(bxp <- boxplot(b))
Now you can use the info in bxp for placement, e.g.:
text(1:length(bxp$names),bxp$stats[3,],round(bxp$stats[3,],2),pos=3)
By the way,
3 matches
Mail list logo