View source: R/clean_endpoints.R
clean_endpoints | R Documentation |
Trims the series of endpoints so that it can be used with various models.
clean_endpoints(rets_xts, offset = 0)
rets_xts |
an xts of asset returns |
offset |
numeric, the number of periods to lag/lead the endpoints |
A numeric of endpoint values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.