Usage
chart.RelativePerformance(Ra, Rb, main = "Relative Performance", xaxis = TRUE, colorset = (1:12), legend.loc = NULL, ylog = FALSE, elementcolor = "darkgray", lty = 1, cex.legend = 0.7, ...)
Arguments
Ra
an xts, vector, matrix, data frame, timeSeries or zoo object of
asset returns
Rb
return vector of the benchmark asset
main
set the chart title, same as in plot
xaxis
if true, draws the x axis
colorset
color palette to use, set by default to rational choices
legend.loc
places a legend into one of nine locations on the chart:
bottomright, bottom, bottomleft, left, topleft, top, topright, right, or
center.
ylog
TRUE/FALSE set the y-axis to logarithmic scale, similar to
plot
, default FALSE elementcolor
provides the color for drawing less-important chart
elements, such as the box lines, axis lines, etc. replaces darken
lty
set the line type, same as in plot
cex.legend
the magnification to be used for sizing the legend
relative to the current setting of 'cex'.
...
any other passthru parameters