Description Usage Arguments Value Author(s) Examples
Compare 2 vectors, and export an XLS file listing 4 comparisons: union,
intersection, only in x, or y
Optionally, the 2 input vectors can be
exported via the exportXY=TRUE
parameter.
1 2 |
x |
a vector |
y |
a vector |
file |
the xls file to write to |
names |
a character[2] corresponding to the names for |
sortfun |
the function to sort the elements |
exportXY |
logical: if TRUE, then the original x, y values are written in first 2 columns |
a 4 column XLS file is written, with these names: “only in x”, “only in y”, “intersect”, “union”
Mark Cowley, 2009-02-02
1 2 | f <- tempfile()
write.venn.2D.xls(LETTERS[1:10], LETTERS[7:15], f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.