Re: [R] line/bar through median in lattice's "bwplot"?

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Thu 18 Aug 2005 - 17:37:41 EST

M. K. <mk_lists <at> yahoo.ca> writes:

>
> Is there a way to render a line through the median point in the boxplot
> generated by the Lattice command "bwplot"? The line basically bisects
> the bar at the median point...

bwplot(height~voice.part , pch='|', data=singer, xlab="Height (inches)")

How to find this (haven't checked, maybe it's documented) library(lattice)
panel.bwplot # no ()!

Check the code for something like points (which is the default). Find a mysterious '|' and pch

Dieter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Aug 18 18:11:05 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:51 EST