title: How to transpose or say flip the x and y axis in R
body: <p>If I want to flip the histogram how would I do it. I tried google but couldn't find anything useful. Please help.</p>
  
  <p><a href="https://i.stack.imgur.com/vAAvw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vAAvw.png" alt="enter image description here"></a></p>