Re: [R] lattice question: how to change the dot on boxplot to line

2012-12-10 Thread Duncan Mackay
Hi Try this (Deepayan gave me this in reply to a similar question several years ago) bwplot(voice.part ~ height, data=singer, xlab="Height (inches)",pch = "|", panel = function(x, y, ...) { panel.bwplot(x, y, ...) meds <- tapply(x, y, median)

Re: [R] lattice question: how to change the dot on boxplot to line

2012-12-10 Thread S Ellison
On 11 Dec 2012, at 03:05, "Ranjan Maitra" mailto:maitra.mbox.igno...@inbox.com>> wrote: How does one change the dot for the median in a boxplot drawn using lattice? Check your ?panel.bwplot help page. The online version at http://stat.ethz.ch/R-manual/R-devel/library/lattice/html/panel.bwplot.ht