I would want to know if it's possible to plot two histograms on the same graphic in order to compare the bins one to one, like a Excel graphic. If it is possible can you help me to do it, because I don't know the exact R-commands. Thanks for your help Damiano> > >Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ >Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27 >ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND >phone: x-41-1-632-3408 fax: ...-1228 <>< >__________________________________________________________________ Abbonati a Tiscali! Con Tiscali By Phone puoi anche ascoltare ed inviare email al telefono. Chiama Tiscali By Phone all' 892 800 http://byphone.tiscali.it -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
See http://www.psych.upenn.edu/~baron/rpsych.htm#tth_sEc5.4 for an example of how to plot two histograms together so that you can compare them. Jon Baron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Try the attached histbackback function by Pat Burns and myself, which will be part of the Hmisc library for R. If you find problems and wish to debug this function for R I would be delighted to receive fixes from you. -Frank Harrell davisco at tiscali.it wrote:> > I would want to know if it's possible to plot two histograms > on the same graphic in order to compare the bins one to one, > like a Excel graphic. > If it is possible can you help me to do it, because I don't know the exact > R-commands. > > Thanks for your help > > Damiano > >> >>Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ >>Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27 >>ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND >>phone: x-41-1-632-3408 fax: ...-1228 <>< >> > > > > __________________________________________________________________ > Abbonati a Tiscali! > Con Tiscali By Phone puoi anche ascoltare ed inviare email al telefono. > Chiama Tiscali By Phone all' 892 800 http://byphone.tiscali.it > > > > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ > >-- Frank E Harrell Jr Prof. of Biostatistics & Statistics Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences U. Virginia School of Medicine http://hesweb1.med.virginia.edu/biostat -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: histbackback.s Url: https://stat.ethz.ch/pipermail/r-help/attachments/20011115/ac4aa95c/histbackback.pl -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: histbackback Url: https://stat.ethz.ch/pipermail/r-help/attachments/20011115/ac4aa95c/histbackback-0001.pl
---------- Forwarded message ---------- Hey, I'm student of Politecnico,Torino and I'm starting to employ R. Can you help me to plot two series of dates (e.g A and B) on the same histogram.I would like to see on the graphic one histogram with the bins of A near to these of B Thanks Davide -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._