Re: [R] patterned non-random jitter

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Sat, 16 Apr 2011 21:45:54 +1000

On 04/16/2011 06:30 AM, Daryl Morris wrote:
> Hi,
>
> Is there a function somewhere that does a "patterned" jitter of data?
> I've googled and the problem is that I don't know what to google for.
>
> The setting is in grouped data. I have plots which overlay jittered
> points on a boxplot. I simply jitter the "x-value", and the "y-value"
> has no effect.
>
> Scientists I work with frequently show plots made by another software
> where the jitter looks like a bunch smiles stacked on top of each other.
> The jitter isn't random, but instead depends on the "y-value" somehow.
>
Hi Daryl,
have a look at the code for the cluster.overplot and brkdn.plot functions in the plotrix package. These functions offset the points by regular intervals to avoid overplotting.

Jim



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 16 Apr 2011 - 11:51:44 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 16 Apr 2011 - 13:20:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive