[Rd] boxplot() confuses x- and y-axes (PR#10345)

hadley wickham h.wickham at gmail.com
Mon Oct 15 21:34:41 CEST 2007


> So given the help file, we should consider dropping the whole
> ``along the boxplot'' idea?
>
> {{well, yes, we should drop "traditional graphics" and work with
>   grid-based graphical objects ("grob"s) that can be drawn
>   vertically or horizontally,
>   e.g., in lattice or (most probably) ggplot2
> }}

ggplot2 does this in a completely general way (i.e. for all types of
graphics) with the coord_flip coordinate system, which flips the
interpretation of the x and y scales.  This includes producing
smoothers of x conditional on y, and so forth.

Hadley

-- 
http://had.co.nz/



More information about the R-devel mailing list