Learn R Programming

forcats (version 0.5.2)

forcats-package: forcats: Tools for Working with Categorical Variables (Factors)

Description

logo

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

Arguments

Author

Maintainer: Hadley Wickham hadley@rstudio.com

Other contributors:

  • RStudio [copyright holder, funder]

See Also