forcats-package: forcats: Tools for Working with Categorical Variables...

forcats-packageR Documentation

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

Author(s)

Maintainer: Hadley Wickham hadley@posit.co

Other contributors:

  • Posit Software, PBC [copyright holder, funder]

See Also

Useful links:


tidyverse/forcats documentation built on Oct. 31, 2023, 7:32 p.m.