Re: [R] overlap histogram and density

2010-11-25 Thread Roslina Zakaria
Subject: Re: [R] overlap histogram and density [OOPS!!I accidentally reproduced my second example below as my third example. Now corrected. See below.] On 11-Nov-10 20:02:29, Ted Harding wrote: On 11-Nov-10 18:39:34, Roslina Zakaria wrote: Hi, Does anybody encounter the same problem when we

[R] overlap histogram and density

2010-11-11 Thread Roslina Zakaria
Hi, Does anybody encounter the same problem when we overlap histogram and density     that the density line seem to shift to the right a little bit?           If you do have the same problem, what should we do to correct that?           Thank you.           par(mar=c(4,4,2,1.2),oma=c(0,0,0,0))  

Re: [R] overlap histogram and density

2010-11-11 Thread Ben Bolker
Roslina Zakaria zroslina at yahoo.com writes: Hi, Does anybody encounter the same problem when we overlap histogram and density     that the density line seem to shift to the right a little bit?           par(mar=c(4,4,2,1.2),oma=c(0,0,0,0))     hist(datobs,prob=TRUE, main =Volume of

Re: [R] overlap histogram and density

2010-11-11 Thread Ted Harding
On 11-Nov-10 18:39:34, Roslina Zakaria wrote: Hi, Does anybody encounter the same problem when we overlap histogram and density that the density line seem to shift to the right a little bit? If you do have the same problem, what should we do to correct that? Thank you.

Re: [R] overlap histogram and density

2010-11-11 Thread Ted Harding
[OOPS!!I accidentally reproduced my second example below as my third example. Now corrected. See below.] On 11-Nov-10 20:02:29, Ted Harding wrote: On 11-Nov-10 18:39:34, Roslina Zakaria wrote: Hi, Does anybody encounter the same problem when we overlap histogram and density that the