title: apply the same custom function to multiple data frames (and return as data frames not a list)
body: <p>I have a bunch of different data frames and I want to run the same custom function to each of them.  I want the output returned into each of the original data frame names, not in a list.</p>
  
  <p>Let's say I have a bunch of different data frames:</p>
  
  <p>mtcars1, mtcars2, mtcars3.....mtcars20.   Each of these will have different factor levels on say the CYL column.   I want to run a function that:</p>
  
  <ol>
  <li>returns the CYL value to a number from a factor - as.numeric(as.character())</li>
  <li>calculates some new column that is a rolling average of mpg.</li>
  </ol>
  
  <p>Now what is the code to do that and apply this function?  Again I want the output to all be mtcars1...mtcars20 data frames.   </p>
  
  <p>I have tried looking at </p>
  
  <pre><code> lapply(mylist=c(mtars1...mtcars20)  function(x)    myfunct()) 
  </code></pre>
  
  <p>but I am running into trouble.</p>