dailyReturns | R Documentation |
Computes both the daily log return and daily arithmetic return of a given price time-series.
dailyReturns(s)
s |
the time-series of daily prices, returned from |
xts of logarithmic and arithmetic returns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.