Description Usage Arguments Details Author(s) Examples
A wrapper to create a chart of rolling correlation metrics in a line chart
1 2 |
Ra |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
Rb |
return vector of the benchmark asset |
width |
number of periods to apply rolling function window over |
xaxis |
if true, draws the x axis |
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 |
... |
any other passthru parameters |
fill |
a three-component vector or list (recycled
otherwise) providing filling values at the left/within/to
the right of the data range. See the fill argument of
|
The previous parameter na.pad
has been replaced with
fill
; use fill = NA
instead of na.pad =
TRUE
, or fill = NULL
instead of na.pad =
FALSE
.
Peter Carl
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.