title: Removing sampled values from a character vector
body: <p>I'm quite new to R, but I'm trying to make a &quot;randomizer&quot; of sorts.</p>
  <p>I have a vector</p>
  <ul>
  <li>names &lt;- c('Name1', 'Name2', [...], 'Name13')</li>
  </ul>
  <p>I then sample 6 names from the vector to another vector</p>
  <ul>
  <li>name_sample_1 &lt;- sample(names, 6)</li>
  </ul>
  <p>What i want is to then update the &quot;names&quot; vector by a line of code, and not have to do it manually. I tried running:</p>
  <ul>
  <li>names &lt;- names - name_sample_1</li>
  </ul>
  <p>But this returned the error 'non-numeric argument to binary operator'. Any ideas on how to do this effectively?</p>