title: R: List of multiple svytables to data frames
body: <p>I have a multiple <em>svytable</em> in list and from that list I want to make them separate dataframes by saving the same data structure.</p>
  <p>For example:</p>
  <pre><code>library(survey)
  data(api)
  x &lt;- apiclus1
  dclus1 &lt;- svydesign(id=~dnum, weights=~pw, data=x, fpc=~fpc)
  n &lt;- c(&quot;sch.wide&quot;, &quot;cname&quot;) 
  
  for(k in seq_along(n)){
    assign((paste0( n[[k]], &quot;_1&quot;)),((svytable(as.formula(paste0(&quot;~&quot;, n[[k]], &quot;+stype&quot;)), design = dclus1, na.action=na.pass))))
  }
  
  list&lt;- list(sch.wide_1, cname_1) 
  result &lt;- lapply(list, function(x) ((prop.table(x, margin =2)*100)))
  </code></pre>
  <p>How to make the separate data frames from <em>result</em> list tables?</p>