The base 'sets' tools follow the algebraic definition that each element of a set must be unique. Since it's often helpful to compare all elements of two vectors, this toolset treats every element as unique for counting purposes. For ease of use, all functions in vecsets have an argument 'multiple' which, when set to FALSE, reverts them to the base::set tools functionality.

Author | Carl Witthoft |

Date of publication | 2014-10-25 01:14:45 |

Maintainer | Carl Witthoft <carl@witthoft.com> |

License | LGPL-3 |

Version | 1.1 |

**vecsets-package:** An extension of the 'base' "sets" tools which does not reduce...

**vintersect:** Perform intersection of two vectors, including counting...

**vsetdiff:** Find all elements in first argument which are not in second...

**vsetequal:** Check whether two vectors contain exactly the same collection...

**vunion:** Returns the union of its inputs including repeated elements.

vecsets

vecsets/NAMESPACE

vecsets/R

vecsets/R/vunion.R
vecsets/R/vsetdiff.R
vecsets/R/vintersect.R
vecsets/R/vsetequal.R
vecsets/MD5

vecsets/DESCRIPTION

vecsets/ChangeLog

vecsets/man

vecsets/man/vintersect.Rd
vecsets/man/vecsets-package.Rd
vecsets/man/vsetequal.Rd
vecsets/man/vunion.Rd
vecsets/man/vsetdiff.Rd
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.