title: create labels for interval
body: <p>I am trying to create a label with <code>cut</code> and here is the example</p>
  <pre><code>&gt; cut(c(1,5,10,15,160),c(0,5,10,15,Inf))
  [1] (0,5]    (0,5]    (5,10]   (10,15]  (15,Inf]
  Levels: (0,5] (5,10] (10,15] (15,Inf]
  </code></pre>
  <p>I wanted to automatically create labels like this</p>
  <pre><code>&quot;1~5&quot; &quot;6~10&quot; &quot;11~15&quot; &quot;15+&quot;
  </code></pre>
  <p>Is there any way I can do it automatically?</p>