title: How can I extract a column from all of the data frames in a sublist and use this data to run a Kruskal Wallis test?
body: <p>When I do:</p>
  
  <pre><code>kruskal.test(sapply(list$`sublist`, "[", 14))
  </code></pre>
  
  <p>I am able to run the test on the 14th column of each data frame within the sublist.</p>
  
  <p>However, I need to run this on over 1000 sublists, so individually writing it out isn't an option. Any suggestions how to access the 14th column of each of the data frames within each individual sublist to run a Kruskal Wallis test on the data from that sublist only?</p>
  
  <p>Basically, I just need a way to loop through the sublists, but I am not sure how to do that.</p>
  
  <p>Thanks for your help!</p>