title: How to randomize a vector
body: <p>I would like to randomly reorganize the order of the numbers in a vector, in a simple one-line command?</p>
  
  <p>My particular vector V has 150 entries for each value from 1 to 10:</p>
  
  <pre><code>V &lt;- rep(1:10, each=150)
  </code></pre>