Description Usage Arguments Value Examples
View source: R/plot_return_distribution.R
This function creates a ggplot histogram of the sampled portfolio distributions against an evenly weighted portfolio and the target portfolio
1 | plot_return_distribution(returns, points)
|
returns |
is a dataframe of portfolio returns |
points |
is the number of randomly sampled portfolios |
plot, a histogram of the returns distribution
1 2 3 4 | ## Not run:
plot <- plot_return_distribution(returns, portfolio.weight)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.