vecsets: Like Set Tools in 'Base' Package but Keeps Duplicate Elements

The 'base' tools union() intersect(), etc., 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::sets (alias for all the items) tools functionality.

Version: 1.4
Imports: pracma
Published: 2023-12-02
DOI: 10.32614/CRAN.package.vecsets
Author: Carl Witthoft [aut, cre]
Maintainer: Carl Witthoft <cellocgw at>
License: LGPL-3
NeedsCompilation: no
Materials: ChangeLog
CRAN checks: vecsets results


Reference manual: vecsets.pdf


Package source: vecsets_1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): vecsets_1.4.tgz, r-oldrel (arm64): vecsets_1.4.tgz, r-release (x86_64): vecsets_1.4.tgz, r-oldrel (x86_64): vecsets_1.4.tgz
Old sources: vecsets archive

Reverse dependencies:

Reverse imports: mldr.resampling


Please use the canonical form to link to this page.