View source: R/time_series_manip.R
Converts a sequential series of returns to a series of prices which originate at some initial value.
1 | as_prices(returns, p0 = 1)
|
returns |
Numeric vector of returns. |
p0 |
Numeric; initial price value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.