On Mon, Jul 18, 2011 at 10:57 AM, Paul Smith <phh...@gmail.com> wrote: > [snip] I guess that I must have a data frame to plot a histogram.
Not at all! ## a *vector* of 100 million observation x <- rnorm(10^8) ## a histogram for it (see attached for the result from my system) hist(x) No data frame required. I would not try this straight in anything but traditional graphics for a 100 million observation vector, but if you wanted it made in ggplot2 or something, you could prebin the data and THEN plot bars corresponding to the bins. Cheers, Josh -- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles https://joshuawiley.com/
hist.pdf
Description: Adobe PDF document
______________________________________________ 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.