[R] Re intraday OHLC plot

From: Jeff Ryan <jeff.a.ryan_at_gmail.com>
Date: Sat, 22 Mar 2008 09:27:39 -0500


Hi Thomas,

You may want to check out the quantmod package. There is a whole suite of charting functionality now included.

You will need to change the 'Last' colname to Close, but other than that your data should work. If you download the most recent build or svn snapshot from http://r-forge.r-project.org/projects/quantmod you'll find many additional functional that may be of use.

Additionally, there are some (possibly dated) examples on the main site page at http://www.quantmod.com

The most recent version allows for custom tick mark location by dates, as well as zooming capabilities. Additionally TA analysis can be applied to the charts (the underlying functionality coming from the TTR package on CRAN and r-forge)

Jeff



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 22 Mar 2008 - 14:38:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 22 Mar 2008 - 15:30:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive