title: Create 3 mutually exclusive samples in r
body: <p>I have a data set that I need to split into three mutually exclusive random samples of different sizes. I used: </p>
  
  <pre><code>testdata&lt;-sample(47959,14388,replace=FALSE,prob=NULL)
  </code></pre>
  
  <p>to try and create a sample (the data set size is 47959) but I don't know how to make this sample into a manipulatable data set in R. </p>