Description Usage Arguments Value Details Author(s)
Function returns an xts object with the log returns as xts object.
\mbox{log return}_t = (\log(\mbox{PRICE}_{t})-\log(\mbox{PRICE}_{t-1})).
1 |
ts |
xts object |
an xts object containing the log returns.
Note: the first (row of) observation(s) is set to zero.
Jonathan Cornelissen and Kris Boudt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.