[R] Dotchart showing mean and median by group
maxbre
mbressan at arpa.veneto.it
Wed May 9 09:25:03 CEST 2012
Given this example
mean.values<-colMeans(VADeaths)
mean.values<-apply(VADeaths, 2, mean)
median.values<-apply(VADeaths, 2, median)
dotchart(VADeaths, gdata=mean.values)
dotchart(VADeaths, gdata=median.values)
is it possible to “combine” a single dotchart showing both the mean and the
median for each single group (with different plotting symbols)?
…is it that possible with the use of the standard graphics or it is
necessary (better) to use of a different package?
Any example for this in my favourite (even almost always too much complex
for myself) package lattice?
thank you
--
View this message in context: http://r.789695.n4.nabble.com/Dotchart-showing-mean-and-median-by-group-tp4619597.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list