title: R data samples counting
body: <p>I have a task to do using R. I need to make 10000 samples of a vector of 12 elements each of them between 1 and 7. I did this using:</p>
  
  <pre><code>dataSet = t(replicate(10000, sample(1:7, 12, r=T)))
  </code></pre>
  
  <p>Now I need to count the rows of this dataSet that contain all the values from 1:7.</p>
  
  <p>How can I do that and is there a better way to represent the data than this?</p>