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@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.