Re: [R] plotting a dataset with median 0

From: Georg Ehret <>
Date: Sat, 05 Jun 2010 16:08:11 +0200

Thank you, this is partially hepful Jim, my data are in 3 categories on the x-axis. Does anyone know of a method of plotting values identical on the y-axis distributed (adjacent to each other - piled up) on the x-axis?

Thank you to all, best regards, Georg.

Georg Ehret
Johns Hopkins

On Sat, Jun 5, 2010 at 12:00 PM, Jim Lemon <> wrote:

> 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

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 05 Jun 2010 - 14:11:20 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 - 16:50:27 GMT.

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

list of date sections of archive