Hallo, How can I have the control of the width of each bin in the histogram? I would like to plot my data modifying the number and the width of the bins. Is there a good pdf or manual where i can learn to use the plot/hist in R very well? I find the help not always clear Thanks a lot Ale -- View this message in context: http://www.nabble.com/Histogram-tp24325261p24325261.html Sent from the R help mailing list archive at Nabble.com.
aledanda wrote:> Hallo, > > How can I have the control of the width of each bin in the histogram? > I would like to plot my data modifying the number and the width of the bins. > > Is there a good pdf or manual where i can learn to use the plot/hist in R > very well?See ?hist and its argument "breaks". Uwe Ligges> I find the help not always clear > > Thanks a lot > > > Ale
On 7/3/09, aledanda <danda.galli at gmail.com> wrote:> > Hallo, > > How can I have the control of the width of each bin in the histogram? > I would like to plot my data modifying the number and the width of the bins. > > Is there a good pdf or manual where i can learn to use the plot/hist in R > very well? > I find the help not always clear > > Thanks a lot > > > AlePossibly somewhat like this? http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=89 - Mark
I addition to the other responses you have received, you may want to play with the run.hist.demo function in the TeachingDemos package to learn more. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of aledanda > Sent: Friday, July 03, 2009 9:55 AM > To: r-help at r-project.org > Subject: [R] Histogram > > > Hallo, > > How can I have the control of the width of each bin in the histogram? > I would like to plot my data modifying the number and the width of the > bins. > > Is there a good pdf or manual where i can learn to use the plot/hist in > R > very well? > I find the help not always clear > > Thanks a lot > > > Ale > -- > View this message in context: http://www.nabble.com/Histogram- > tp24325261p24325261.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.