[R] R plot like candlestick

Denis Francisci denis.francisci at gmail.com
Mon Jan 28 22:26:02 CET 2013


Hi all,
I'm new on this list so I greet all.
My question is: does exist in R a plot similar to candlestick plot but
not based on xts (time series)? I have to plot a range of 4 value: for
every item I have min value, max value and 2 intermediate values. I
would like plot this like a candlestick, i.e. with a box between 2
intermediate values and 1 segment between box and min value and a
segment between box and max value. Candlestick plot is provided by
quantmod package, but it is very specific for financial purpose and it
uses time series for x axis. I need a simpler method for plotting my
data that are stored in a table like this:

item, min, int_1, int_2, max
a, 2.5, 3, 4, 5.5
b, 2, 3.5, 4, 4.5
c, 3.5, 4, 4.5, 5
.....

Does anyone know if there is an R-plot for this purpose?
Thank you very much,

D.



More information about the R-help mailing list