[R] Plotting 15 million points
Glover, Tim
NTGLOVER at mactec.com
Fri Feb 26 00:23:15 CET 2010
Have you considered taking a random subset and plotting that? I'd bet you can get a really impression of the distribution with a few hundred thousand points at most.
Tim Glover
Senior Environmental Scientist - Geochemistry
Geoscience Department Atlanta Area
MACTEC Engineering and Consulting, Inc.
Kennesaw, Georgia, USA
Office 770-421-3310
Fax 770-421-3486
Email ntglover at mactec.com
Web www.mactec.com
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Abhishek Pratap
Sent: Thursday, February 25, 2010 6:12 PM
To: r-help at r-project.org
Subject: [R] Plotting 15 million points
Hi All
I have a vector of about 15 million numbers which I would like to
plot. The goal is the see the distribution. I tired the usual steps.
1. Histogram : never gets complete my window freezes w/out log base 10
2. Density : I first calculated the kernel density and then plotted
it which worked.
It would be nice to superimpose histogram with density but as of now I
am not able to get this data as a histogram. I tried ggplot2 which
also hangs.
Any efficient methods to play with > 10 million numbers in a vector.
Thanks,
-Abhi
______________________________________________
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.
More information about the R-help
mailing list