Other packages > Find by keyword >

forcats  

Tools for Working with Categorical Variables (Factors)
View on CRAN: Click here


Download and install forcats package within the R console
Install from CRAN:
install.packages("forcats")

Install from Github:
library("remotes")
install_github("cran/forcats")

Install by package version:
library("remotes")
install_version("forcats", "1.0.1")



Attach the package and use:
library("forcats")
Maintained by
Hadley Wickham
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-08-29
Latest Update: 2023-01-29
Description:
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').
How to cite:
Hadley Wickham (2016). forcats: Tools for Working with Categorical Variables (Factors). R package version 1.0.1, https://cran.r-project.org/web/packages/forcats. Accessed 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:39), 0.1.0 (2016-08-29 17:44), 0.1.1 (2016-09-16 00:15), 0.2.0 (2017-01-23 16:39), 0.3.0 (2018-02-19 20:43), 0.4.0 (2019-02-17 15:40), 0.5.0 (2020-03-01 19:10), 0.5.1 (2021-01-27 20:50), 0.5.2 (2022-08-20 00:00), 1.0.0 (2023-01-29 23:20)
Other packages that cited forcats R package
View forcats citation profile
Other R packages that forcats depends, imports, suggests or enhances
Complete documentation for forcats
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA