Description Usage Arguments Value Examples
Converts sequence of gains and initial balance to sequence of prices for one or more investments.
1 | gains_prices(gains, initial = 10000, date1 = NULL)
|
gains |
Numeric vector of gains for one investment, or data frame with one column for each investment and an optional Date variable. |
initial |
Numeric value. |
date1 |
Date to use for initial price. |
Numeric vector or data frame.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.