set | R Documentation |
Performs intersection (md_intersect()
) and union (md_union()
) on,
inter alia, messy date class objects.
For a more typical 'join' that retains all elements, even if duplicated,
please use md_multiset
.
md_intersect(...) md_union(x, y) md_multiset(x, y)
x, y, ... |
Messy date or other class objects |
A vector of the same mode for intersect
,
or a common mode for union.
md_intersect()
: Find intersection of sets of messy dates
md_union()
: Find union of sets of messy dates
md_multiset()
: Join two sets of messy dates
md_intersect(as_messydate("2012-01-01..2012-01-20"),as_messydate("2012-01")) md_union(as_messydate("2012-01-01..2012-01-20"),as_messydate("2012-01")) md_multiset(as_messydate("2012-01-01..2012-01-20"),as_messydate("2012-01"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.