[R] plotting a dataset with median 0

Jim Lemon jim at bitwrit.com.au
Sat Jun 5 12:00:08 CEST 2010


On 06/05/2010 07:35 AM, Georg Ehret wrote:
> Dear R community,
>        I am working on a dataset that has median 0 (due to many "0" entries)
> for my principal variable of interest (40 entries in total). I would like to
> plot a graph of this variable to show it visually, but have a hard time:
> boxplots are not informative (because median 0). Conventional scatterplots
> are neither. Is there a good way to do this (e.g. plotting the "0" values
> with a jitter or something else...)?
>
Hi Georg,
Depending upon what you are plotting it against, count.overplot in the 
plotrix package might do some good.

Jim



More information about the R-help mailing list