From wealth time series to prices relative time series
Transform a time series of wealths into a time series of prices relative of the same length. Make sure that the first element is correct.
Time series of wealth.
Essentially perform w / lag(w) but add an initial value to keep the same length.
Time series of relative prices
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.