forcats: Tools for Working with Categorical Variables (Factors)

Helpers for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, and randomly shuffling), and tools for modifying factor levels (including collapsing rare levels into other, 'anonymising', and manually 'recoding').

Version: 0.2.0
Depends: R (≥ 2.10)
Imports: tibble, magrittr
Suggests: ggplot2, testthat, covr
Published: 2017-01-23
Author: Hadley Wickham [aut, cre], RStudio [cph, fnd]
Maintainer: Hadley Wickham <hadley at>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: forcats results


Reference manual: forcats.pdf
Package source: forcats_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: forcats_0.2.0.tgz
OS X Mavericks binaries: r-oldrel: forcats_0.2.0.tgz
Old sources: forcats archive

Reverse dependencies:

Reverse imports: tidyverse, timekit
Reverse suggests: nzelect, tidyquant


Please use the canonical form to link to this page.