Re: [R] Histogram not plotting correct breaks

2010-04-27 Thread Greg Snow
8:04 PM > To: r-help@r-project.org > Subject: [R] Histogram not plotting correct breaks > > > Hi, > > I'm using the hist function to plot the frequency of 21 variables, but > it > keeps starting the x-axis from 0 and adding variables 1 and 2 together > (all >

Re: [R] Histogram not plotting correct breaks

2010-04-27 Thread Uwe Ligges
On 27.04.2010 07:26, Tal Galili wrote: trying setting br = 40 inside the hist, and check if that helps... (breaks won't do it for you either way) Tal No, the main problem is that a hist()ogram is used rather than a barplot() which should be used Uwe Ligges Conta

Re: [R] Histogram not plotting correct breaks

2010-04-26 Thread Tal Galili
trying setting br = 40 inside the hist, and check if that helps... (breaks won't do it for you either way) Tal Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biost

[R] Histogram not plotting correct breaks

2010-04-26 Thread burgundy
Hi, I'm using the hist function to plot the frequency of 21 variables, but it keeps starting the x-axis from 0 and adding variables 1 and 2 together (all other vairables have the correct frequencies). I suspect it adds 1 and 2 together so that 0 can fit in with demarcations at intervals of 5. Usi