How to have a horizontal filling areaplot in R : <p>Imagine a normal area plot of a continuous function y = f(x), which fills the area below the plotted graph down to the x-axis.</p>

<p>But I have to plot my data transposed. The y-data is now on the horizontal axis and the x-data is now on the vertical axis. I want to have the very same plot as before, just transposed ... so the filling should go left, towards the vertical y-axis. </p>

<p>But I can't find a fitting argument for this in the <a href="https://www.rdocumentation.org/packages/areaplot/versions/1.2-0/topics/areaplot" rel="nofollow noreferrer">R documentation of areaplot</a></p>

<p>Can you help me? Is there a work around?</p>
