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.0")



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.0, https://cran.r-project.org/web/packages/forcats. Accessed 14 Jun. 2025.
Previous versions and publish date:
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)
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

steprf  
Stepwise Predictive Variable Selection for Random Forest
An introduction to several novel predictive variable selection methods for random forest. They are b ...
Download / Learn more Package Citations See dependency  
Maintainer: Jin Li (view profile)
crov  
Constrained Regression Model for an Ordinal Response and Ordinal Predictors
Fits a constrained regression model for an ordinal response with ordinal predictors and possibly oth ...
Download / Learn more Package Citations See dependency  
CTShiny  
Interactive Document for Working with Classification Tree Analysis
An interactive document on the topic of classification tree analysis using 'rmarkdown' and 'shiny' ...
Download / Learn more Package Citations See dependency  
RSocrata  
Download or Upload 'Socrata' Data Sets
Provides easier interaction with 'Socrata' open data portals . Users can ...
Download / Learn more Package Citations See dependency  
DatabionicSwarm  
Swarm Intelligence for Self-Organized Clustering
Algorithms implementing populations of agents that interact with one another and sense their environ ...
Download / Learn more Package Citations See dependency  
C443  
See a Forest for the Trees
Get insight into a forest of classification trees, by calculating similarities between the trees, an ...
Download / Learn more Package Citations See dependency  

24,407

R Packages

207,311

Dependencies

66,116

Author Associations

24,408

Publication Badges

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