Description Usage Arguments Value
View source: R/rolling_metric.R
Mainly a helper function for plot_metrics_overtime
.
1 2 3 4 5 6 7 | rolling_metric(
gains,
metric = "mean",
width = 50,
units.year = 252,
benchmark.gains = NULL
)
|
gains |
Numeric vector. |
metric |
Character string. |
width |
Integer value. |
units.year |
Integer value. |
benchmark.gains |
Numeric vector. |
Numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.