+,RepoTimeInt,Period-method | R Documentation |
+
sums an object of class Period
of lubridate-package to an object of class
RepoTimeInt.
## S4 method for signature 'RepoTimeInt,Period'
e1 + e2
e1 |
Object of class RepoTimeInt. |
e2 |
Object of class Period. |
This method overloads the operator + and builds an object of class RepoTimeInt.
Object of class RepoTimeInt resulting from summing the
time period e2
to the initial time interval e1
.
RepoPeriod <- newRepoTime('MM022015')
RepoPeriod + months(1)
RepoPeriod + lubridate::years(1)
RepoPeriod + lubridate::weeks(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.