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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to