title: How to permut list level in R
body: <p>is there's a way to permute list levels in R?
  In other words, how can i simply go from test list to test2?</p>
  
  <pre><code>test=list(
  a=list("alpha"=1:2,"beta"=3:5),
  b=list("alpha"=5:6,"omega"=7:10)
  )
  
  test2 &lt;- list(
  alpha=list("a"=1:2,"b"=5:6),
  beta=list("a"=3:5),
  omega=list("b"=7:10)
  )
  </code></pre>