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').

Documentation

Manual: forcats.pdf
Vignette: None available.

Maintainer: Hadley Wickham <hadley at rstudio.com>

Author(s): Hadley Wickham*, RStudio*

Install package and any missing dependencies by running this line in your R console:

install.packages("forcats")

Depends R (>= 2.10)
Imports tibble, magrittr
Suggests ggplot2, testthat, covr
Enhances
Linking to
Reverse
depends
Reverse
imports
descriptr, haven, naniar, noaastormevents, OutliersO3, sjPlot, tidyverse
Reverse
suggests
factorMerger, forwards, ggjoy, ggridges, nzelect, questionr, sweep, tidyquant, timetk
Reverse
enhances
Reverse
linking to

Package forcats
Materials
URL http://forcats.tidyverse.org https://github.com/tidyverse/forcats
Task Views
Version 0.2.0
Published 2017-01-23
License GPL-3
BugReports https://github.com/tidyverse/forcats/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks forcats check results
Package source forcats_0.2.0.tar.gz