title: Transpose a table, exported from R to Latex with latex() from Hmisc package
body: <p>I am trying to write output from R to Latex. I expect to get nicely formatted table from R:</p>
  
  <p><a href="https://i.stack.imgur.com/hltQk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hltQk.jpg" alt="raw"></a></p>
  
  <p>When I use latex() function from Hmisc package, I get this:</p>
  
  <p><a href="https://i.stack.imgur.com/9BK80.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9BK80.jpg" alt="enter image description here"></a></p>
  
  <p>How can I transpose the table, making it 2x6 instead of 6x2? I know that there must exist some parameter for this in latex() function, but I can not figure this out.</p>