title: Removing column/s from multiple data-frames
body: <p>Let's say I have multiple data.frames of same columns but in a different order. I want to remove a column from all data frames at once. For example, say columns named "Group 1" and "Group 2" are present.
  I tried this but failed.</p>
  
  <pre><code>remover&lt;-function(input){
  
    input&lt;-input[,-c("Group 1","Group 2")]
  
    return(input)
  
  }
  </code></pre>
  
  <p>Also, I saw this link (<a href="https://stackoverflow.com/questions/27399814/how-to-remove-certain-columns-in-multiple-data-frames-in-r">How to remove certain columns in multiple data frames in R?</a>) and don't want to use lists.</p>
  
  <p>Any help would be appreciated.</p>