Skip to content

ThinkCell type waterfall charts in R?

4 messages · ang, Jim Lemon

ang
#
I was actually looking to create a similar type of graph in R.
But I guess I am going to try to approach it by using a stacked column chart
and hiding the 'net' series, while only showing the increases/decreases in
value.

I'll post an update later on what I come up with.
#
On 01/11/2011 09:20 AM, ang wrote:
Hi ang,
You might want to look at the waterfall plot function in the plotrix 
package.

Jim
ang
#
Hi Jim,

I looked through the plotrix documentation, and the waterfall plot comes
from the stackpoly function right?  I'm not sure if I can modify the
stackpoly to create the plot I want, since stackpoly is a line plot and
fills the area under with color.

I haven't played with all the options yet, but what I was looking for was
more similar to staircase.plot, but instead of horizontal bars, they would
be vertical columns.  Would you happen to know any packages or existing
plots that could be easily modified to do this?

Thanks in advance for your help.

Adrian
#
On 01/12/2011 05:54 AM, ang wrote:
Hi Adrian,
Try using the "dir" argument as "e" or "w".

Jim