[R] Stacked Area Plot

Jim Lemon
Thu, 18 Sep 2008 12:19:31 -0000

Josip Dasovic wrote:
> Hi:
>
> I've searched the archives and the Internet for hours but have yet to
find a way to do stacked area plots (like the kind in Excel) in R.  I think that
polygon may work but it would require a bit of manipulation of my data. I was
hoping for an easier way.
>
> An example of what I'm trying to do can be found here:
> http://jcharts.sourceforge.net/samples/stackedArea.html
>
>
Hi Josip,
Look at stackpoly in the plotrix package.

Jim