A Fancy Version of 'base::cut'

Provides the function fancycut() which is like cut() except you can mix left open and right open intervals with point values, intervals that are closed on both ends and intervals that are open on both ends.


fancycut v0.1.2 (Release date: 2018-06-20)


  • NA bucket and unmatched bucket only appear in levels of output when needed. https://github.com/adamleerich/fancycut/issues/1
  • wafflecut now handles the case where intervals and buckets are passed as separate vectors fancycut for when passed as bucket = interval
  • parsing intervals happens in a separate function and gives warnings when intervals are malformed will still give results, however, just NAs
  • More tests written

fancycut v0.1.1 (Release date: 2017-01-07)


  • No longer requires a particular version of R. This requirement in v0.1.0 should not have been there.
  • Function fancycut can now take ... as an argument. See help file and examples for more info.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.2 by Adam Rich, 3 years ago

Browse source code at https://github.com/cran/fancycut

Authors: Adam Rich [aut, cre] , Richie Cotton [ctb]

Documentation:   PDF Manual  

CC0 license

Suggests testthat

Imported by TCIU.

See at CRAN