[R] method or package to make special boxplot

David Winsemius dwinsemius at comcast.net
Sat Sep 8 18:28:52 CEST 2012


On Sep 8, 2012, at 7:14 AM, Zhang Qintao wrote:

> Hi, All,
> 
> I am trying to use R to make the following type of boxplot while I couldn't
> find a way to do it.
> 
> My dataset looks like X1 Y1 X2 Y2.... SPLIT. The split highlights my
> experiment details and both x and y are continuous numerical values.  I
> need to plot y vs. x with split as legend and boxplot has to be used for
> all splits. May I ask how to get it? Currently available boxplot only
> applies on the case that X axis is character.

Boxplots do _not_ have continuous "X" axes. You will need to explain in greater detail what goal you are seeking. Perhaps something like a bagplot?

http://gallery.r-enthusiasts.com/RGraphGallery.php?graph=112

--
David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list