New Version of the Package “Vecsets” is on CRAN

Interested in publishing a one-time post on R-bloggers.com? Press here to learn how.
  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.
For this revision, the code for most functions was rewritten to increase processing speed dramatically.  A new function, “vperm,” generates all permutations of  all possible combinations taken N elements at a time  from an input vector.  

Published by

Carl Witthoft

Physicist, systems engineer, cellist, data munger.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.