Arguments
R
a vector, matrix, data frame, timeSeries or zoo object of asset returns
width
number of periods to apply rolling function over
rf
risk free rate, in same period as your returns
main
set the chart title, same as in plot
trim
TRUE/FALSE, whether to keep alignment caused by NA's
event.labels
TRUE/FALSE whether or not to display lines and labels for historical market shock events
...
any other passthru parameters