- R Statistics
I'm still poking around in R, and leveraging the Quantmod package for fun. Â Below I generated a simple bar chart of 6 months of monthly returns for XLE, the oil services ETF.
Not to shabby, eh? Â Now if only I can figure out how to correctly scale the y-axis and add in a few more ETF's into the same chart,withÂ differentÂ colors, then I'll be happy. Any reader know how to do this?
Update: Thanks to readers Shane, Â Sergi, and Cidiel, I was able to generate this new plot of XLE and XLF together for the past three months of returns. Thanks guys.