[R] line/bar through median in lattice's "bwplot"?
Dieter Menne
dieter.menne at menne-biomed.de
Thu Aug 18 09:37:41 CEST 2005
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
More information about the R-help
mailing list