Description Usage Arguments Value
Create a daily timeseries with a constant yearly return.
1 2 3 | ConstantReturn(startDate = "1990-01-01", endDate = Sys.Date(), r,
startValue = 1, dayCountConvention = c("weekdays", "calendardays",
"holidays"), holiday = NULL)
|
startDate |
the first date of the xts to be returned |
endDate |
the last date of the xts to be returned |
r |
the yearly return |
startValue |
the first value of the xts |
dayCountConvention |
the convention to be used |
holiday |
for convention |
an xts
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.