[R] Mean in bwplot

Charilaos Skiadas cskiadas at gmail.com
Sun Mar 23 18:47:55 CET 2008


On Mar 23, 2008, at 1:37 PM, Charilaos Skiadas wrote:

> 	panel.points(mean(x), y, col="red", ...)

Correction, this should have probably been:

   panel.points(tapply(x, y, mean), y, col="red", ...)

All this assuming you want horizontal boxplots.

Haris Skiadas
Department of Mathematics and Computer Science
Hanover College



More information about the R-help mailing list