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