Description Usage Arguments Details Author(s) See Also Examples
A wrapper to create a chart of periodic returns in a bar chart. This is a difficult enough graph to read that it doesn't get much use. Still, it is useful for viewing a single set of data.
1 2 3  | chart.Bar(R, legend.loc = NULL, colorset = (1:12), ...)
charts.Bar(R, main = "Returns", cex.legend = 0.8, cex.main = 1, ...)
 | 
R | 
 an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns  | 
legend.loc | 
 places a legend into one of nine locations on the chart: bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center  | 
colorset | 
 color palette to use, set by default to rational choices  | 
main | 
 sets the title text, such as in   | 
cex.legend | 
 sets the legend text size, such as in
  | 
cex.main | 
 sets the title text size, such as in
  | 
... | 
 any other passthru parameters, see   | 
This is really a wrapper for chart.TimeSeries, so several other attributes can also be passed.
Creates a plot of time on the x-axis and vertical lines for each period to indicate value on the y-axis.
Peter Carl
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.