w2x: From wealth time series to prices relative time series

Description Usage Arguments Details Value Author(s)

Description

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.

Usage

1
w2x(w)

Arguments

w

Time series of wealth.

Details

Essentially perform w / lag(w) but add an initial value to keep the same length.

Value

Time series of relative prices

Author(s)

Marc Delvaux


logopt documentation built on May 2, 2019, 5:49 p.m.