title: R: equally space points in an interval but not include the endpoints
body: <p>Suppose I want to generate equally spaced points within an interval in R, I found the <code>seq</code> function will do this, but the results shows as:  </p>
  
  <pre><code>seq(0, 1, length.out = 10)
  [1] 0.0000000 0.1111111 0.2222222 0.3333333 0.4444444 0.5555556 0.6666667
  [8] 0.7777778 0.8888889 1.0000000
  </code></pre>
  
  <p>If we want to generate <code>0.1, 0.2,...,0.9, 1.0</code>, how could I include one end point and not the other one?</p>
  
  <p>Thanks!</p>