Calculates prices based on initial balance and vector of gains.
gains_prices(gains, initial = 10000)
Numeric matrix with 1 column of gains for each investment (can be a vector if there is only one).
Numeric value if
gains is a vector, numeric matrix if
gains is a matrix.
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.