Description Usage Arguments Value
Generate a plot that shows the income broken out by security and reinvestment for a given set of securities
1 2 3 4 5 6 7 | plot_income(
dat,
yield = FALSE,
cost = 1000,
annual = FALSE,
main = ggplot2::element_blank()
)
|
dat |
a list of |
yield |
show yield on cost instead of absolute amounts |
cost |
original cost of the investments |
annual |
annualize numbers |
main |
title of the plot |
a ggplot2
object with the plot for the securities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.