| compare_sets | R Documentation |
Compare two vectors using R's set operations
compare_sets(x, y)
x, y |
vectors to compare |
a list with lengths (the lengths of the other elements), x, y,
unique(x), unique(y), setequal(x, y), setdiff(x, y), setdiff(y, x), intersect(x, y), union(x, y).
yours <- c(1, 2, 3, 4, 4) mine <- c(3, 5, 6, 4) compare_sets(yours, mine)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.