title: R - create new dataframes by random selection of consisting dataframes
body: <p>i'm a R-beginner and i have a little problem. I want to create new dataframes by a random selection of consisting dataframes.</p>
  
  <p>I have 4 (categories), each divided into 10 dataframes and i want to create 10 new dataframes, containing 1 dataframe from each category. </p>
  
  <p>For example, these are my dataframes:</p>
  
  <p><code>Cat_1_Data_1  Cat_2_Data_1  Cat_3_Data_1  Cat_4_Data_1
  Cat_1_Data_2  Cat_2_Data_2  Cat_3_Data_2  Cat_4_Data_2
  Cat_1_Data_3  Cat_2_Data_3  Cat_3_Data_3  Cat_4_Data_3
  Cat_1_Data_4  Cat_2_Data_4  Cat_3_Data_4  Cat_4_Data_4
  Cat_1_Data_5  Cat_2_Data_5  Cat_3_Data_5  Cat_4_Data_5
  Cat_1_Data_6  Cat_2_Data_6  Cat_3_Data_6  Cat_4_Data_6
  Cat_1_Data_7  Cat_2_Data_7  Cat_3_Data_7  Cat_4_Data_7
  Cat_1_Data_8  Cat_2_Data_8  Cat_3_Data_8  Cat_4_Data_8
  Cat_1_Data_9  Cat_2_Data_9  Cat_3_Data_9  Cat_4_Data_9
  Cat_1_Data_10  Cat_2_Data_10  Cat_3_Data_10  Cat_4_Data_10</code></p>
  
  <p>Creating new dataframes (that's how i do it):</p>
  
  <p><code>new_data_1 &lt;- rbind(cat_1_data_1,cat_2_data_1,cat_3_data_1,cat_4_data_1)
  ...
  new_data_10 &lt;- rbind(cat_1_data_10,cat_2_data_10,cat_3_data_10,cat_4_data_10)</code></p>
  
  <p>But i want a random pick of the datasets, like:</p>
  
  <p><code>new_data_1 &lt;- rbind(cat_1_data_[Random 1-10],cat_2_data_[Random 1-10]... and so on)
  ...
  new_data_10 &lt;- rbind(cat_1_data_[Random 1-10],cat_2_data_[Random 1-10]...and so on)</code></p>
  
  <p>Is there any possibility to solve this problem? Actually i don't know how to approach this problem :(</p>