Description Usage Arguments Value Examples
Convert daily price series to log-return series by a specified time interval
1 | TimeSeriesLogReturn(pr, days)
|
pr |
Array of daily prices |
days |
Time interval, typically 1 for one day |
Array of log-return series
1 2 | pr <- c( 100.0, 102.0, 106.0, 105.0 )
logr <- TimeSeriesLogReturn(pr,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.