[R] Jitter in xYplot?

Jim Lemon jim at bitwrit.com.au
Tue Aug 19 12:50:23 CEST 2008


On Mon, 2008-08-18 at 19:25 -0400, John Poulsen wrote:
> Hello,
> 
> The simple example below plots three species by year and site.  However, 
>   I would like the points to occur in groups horizontally, rather than 
> on top of each other.
> 
> I thought jitter might work, but haven't been successful in getting it 
> to do what I want.
> 
Hi John,
I don't know whether this is what you want, but the cluster.overplot
function (plotrix) turns coincident points into groups of up to nine
points. You may be able to adapt the code for use in xYplot.

Jim



More information about the R-help mailing list