Intersect | R Documentation |
Intersect
provides the intersection between two objects
of class RepoTimeInt and length 1 or of all elements of an
object of class RepoTimeInt and length greater than 1.
Intersect(x, y)
## S4 method for signature 'RepoTimeInt'
Intersect(x, y)
x |
Object of class RepoTimeInt. |
y |
Object of class RepoTimeInt. |
If argument y
is missing, Intersect
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.
Object of class RepoTimeInt resulting from intersecting
the slot(s) lubriInt
of the argument(s).
RepoPeriod1 <- newRepoTime('MM012015')
RepoPeriod2 <- newRepoTime('MM022015')
Intersect(RepoPeriod1, RepoPeriod2)
RepoPeriod1 <- newRepoTime('MM012015')
RepoPeriod2 <- newRepoTime('AA2015')
Intersect(RepoPeriod1, RepoPeriod2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.