title: R hist(): how to set proper bins
body: <p>I'm trying to obtain an hist plot on a set of numeric data, but getting "some 'x' not counted; maybe 'breaks' do not span range of 'x' " as error.</p>
  
  <p>My data range is:</p>
  
  <p><code>&gt; range(width(myseq2))
  [1]   350 16739</code></p>
  
  <p>and my command is:</p>
  
  <p><code>hist(width(myseq2), breaks=c(350, seq(500, 16800, 150)), col="blue", ylim = c(0,40000))</code></p>
  
  <p>meaning that I want bins of 150, spanning from the minimal to maximal values of my data.</p>
  
  <p>I don't get what's wrong..
  Thanks for any explanations.</p>