forcats

Tools for Working with Categorical Variables (Factors)

CRAN Package

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

  • Version1.0.1
  • R versionR (≥ 4.1)
  • LicenseMIT
  • Needs compilation?No
  • Last release09/25/2025

Documentation


Team


Insights

Last 30 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports6 packages
  • Suggests8 packages
  • Reverse Imports225 packages
  • Reverse Suggests93 packages