Union | R Documentation |
Union
takes two objects of class
RepoTimeInt and produces a new object of this class with the
slot lubriInt
resulting from applying the set operation
union
to their corresponding slots lubriInt
.
Union(x, y)
## S4 method for signature 'RepoTimeInt'
Union(x, y)
x |
Object of class RepoTimeInt. |
y |
Object of class RepoTimeInt. |
If argument y
is missing, union
is applied iteratively
on every successive component of the list of
Interval-class
objects. If argument y
is
not missing, the length of both arguments must be 1.
It is important to remind that union
"fills in" the time gap between
their time interval arguments, if ever. It includes intervening time
intervals between the initial and final input time intervals.
Object of class RepoTimeInt.
RepoPeriod1 <- newRepoTime('TT12015')
RepoPeriod2 <- newRepoTime('TT22015')
Union(RepoPeriod1, RepoPeriod2)
Months <- newRepoTime(paste0('MM', 10:12, '2014'))
Union(Months)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.