++ed by:
1 non-PAUSE user
Author image Roderick Garton

Changes for version 0.05 - 2016-04-07

  • added the optional argument 'set' to cut(), swing(), pool(), match() and binate() methods--but not shrink() method--to control the set of binary values of which the dichotomous sequence should be constructed. Previously, this was only the set {0, 1}, which remains the default. Description of the argument has been added to the DESCRIPTION section in POD, and also to the POD sections for each method.
  • added 'rpt' as a possible value to the argument 'equal' in the cut() method to control how to treat elements that are equal to the cut-value (corresponding to the method for 'rpt' in the swing() method)
  • added POD re handling stringy data by shrink() method
  • corrected POD for cut() method re default operation when given value equals cut-value; this has always (by convention) been to treat the given value as if it was "greater than" the cut-value (as when specifying equal => 'gt'). The default operation was previously erroneously described in POD as skipping the value (as if equal => 0, or 'skip'). The default operation (as always) prevents a sequence which is only composed of the cut-value returning an empty list.
  • added tests for operations following the value of the 'equal' argument in cut()
  • removed from POD the alias "boolwin" for the shrink() method (still supported, for now, in the background).
  • made misc. POD revisions not related to functionality, such as in specifying a value of 'skip' for the 'equal' argument


Dichotomize one or more numerical or categorical sequences into a single two-valued sequence