[R] density plot for very large dataset

Liaw, Andy andy_liaw at merck.com
Sun Dec 14 12:26:58 CET 2003


You might want to try hexbin (hexagonal binning) in the BioConductor suite
(see www.bioconductor.org).

HTH,
Andy

> From: Obi Griffith
> 
> I'm new to R and am trying to perform a simple, yet 
> problematic task.  I 
> have two variables for which I would like to measure the 
> correlation and 
> plot versus each other.  However, I have ~30 million data points 
> measurements of each variable.  I can read this into R from file and 
> produce a plot with plot(x0, x1) but as you would expect, its 
> not pretty 
> to look at and produces a postscript file of about 700MB.  A google 
> search found a few mentions of doing density plots but they seemed to 
> assume you already have the density matrix.  Can anyone point 
> me in the 
> right direction, keeping in mind that I am a complete R newbie.
> 
> Obi


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list