Re: [R] Histograms with bin proportions on the y-axis

2012-05-20 Thread Ted Harding
See in-line below. On 20-May-2012 19:07:55 Nick Gayeski wrote: > I have what is probably a simple problem. I have a data file > from an MCMC Bayes estimation problem that is a vector of 500,000 > numeric values (just one variable) ranging from 100,000 to 700,000. > I need to display the histogram

Re: [R] Histograms with bin proportions on the y-axis

2012-05-20 Thread R. Michael Weylandt
To open a graphics device, you usually use a function like png() or eps() then do your plotting then dev.off() to close it when you're done. Sounds like you need something like hist(x, breaks = 100, freq = TRUE) Hope that helps, Michael On Sun, May 20, 2012 at 3:07 PM, Nick Gayeski wrote: > I

[R] Histograms with bin proportions on the y-axis

2012-05-20 Thread Nick Gayeski
I have what is probably a simple problem. I have a data file from an MCMC Bayes estimation problem that is a vector of 500,000 numeric values (just one variable) ranging from 100,000 to 700,000. I need to display the histogram of this data in a high quality graphic for a figure in a journal publica