Re: [R] plotting a dataset with median 0

From: Jim Lemon <>
Date: Sat, 05 Jun 2010 20:00:08 +1000

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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 05 Jun 2010 - 09:58:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 05 Jun 2010 - 14:20:29 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive