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.
__
Hello there,
I was wondering if anyone might be able to help me as I'm pretty new to R.
I'm trying to create a boxplot from a data table returned from an sproc. I
have the following code, which generates the plot as I'd like it:
library(RODBC);
conn - odbcConnect(datawarehouse); # connect to
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,
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.
4 matches
Mail list logo