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.

Package details

AuthorCarl Witthoft [aut, cre]
MaintainerCarl Witthoft <cellocgw@gmail.com>
LicenseLGPL-3
Version1.3.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("vecsets")

Try the vecsets package in your browser

Any scripts or data that you put into this service are public.

vecsets documentation built on Aug. 29, 2023, 1:06 a.m.