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

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version1.0.0.9000
URL https://forcats.tidyverse.org/ https://github.com/tidyverse/forcats
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("tidyverse/forcats")
tidyverse/forcats documentation built on Oct. 31, 2023, 7:32 p.m.