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

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Fri 19 Aug 2005 - 02:42:50 EST

On 8/18/05, Dieter Menne <dieter.menne@menne-biomed.de> wrote:
> 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 ()!

It's not documented (and only available in the very recent versions of lattice, BTW), as I realized last night. It will be documented in a soon-to-come version (and maybe even honour attempts to change its color, line type, etc).

Deepayan



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 Fri Aug 19 02:49:09 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:31:10 EST