Re: [R] hist() bar width definition

2015-09-11 Thread peter dalgaard
On 11 Sep 2015, at 15:00 , Ana Raquel Felizardo Rodrigues wrote: > Hi, > > I have a realy dumb question about hist(). Is it possible to define classes > width independently from breaks? I have breaks=c(0,2,100,max(mydata)), but > would like the 3 bars to have the same width and to label x ax

[R] hist() bar width definition

2015-09-11 Thread Ana Raquel Felizardo Rodrigues
Hi, I have a realy dumb question about hist(). Is it possible to define classes width independently from breaks? I have breaks=c(0,2,100,max(mydata)), but would like the 3 bars to have the same width and to label x axe with 0, 2 and >100. Can anyone help me? Thank you all! Ana Raquel Rodrigue