Description Usage Arguments Value
Plot drawdowns
Plot drawdowns
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S3 method for class 'modelPortfolio'
plotDrawdowns(this, ...)
plotDrawdowns(this, ...)
plotDrawdowns(this, ...)
## S3 method for class 'modelStrategy'
plotDrawdowns(this, return_type = "plot",
graph_type = "ggplot2", interactive_plot = FALSE, ...)
## S3 method for class 'list'
plotDrawdowns(this, legend = TRUE, interactive_plot = FALSE,
...)
|
this |
modelStrategy |
... |
params |
return_type |
character, plot or data |
graph_type |
character, ggplot2 or xts |
interactive_plot |
logical, if graph_type == 'ggplot2' and this option is TRUE, then plot will be interactive |
legend |
logical, if true then legend will be printed on the plot |
this |
modelStrategy |
... |
params |
ggplot/xts
ggplot/xts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.