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

Version: 0.5.1
Depends: R (≥ 3.2)
Imports: ellipsis, magrittr, rlang, tibble
Suggests: covr, dplyr, ggplot2, knitr, readr, rmarkdown, testthat
Published: 2021-01-27
Author: Hadley Wickham [aut, cre], RStudio [cph, fnd]
Maintainer: Hadley Wickham <hadley at rstudio.com>
BugReports: https://github.com/tidyverse/forcats/issues
License: MIT + file LICENSE
URL: https://forcats.tidyverse.org, https://github.com/tidyverse/forcats
NeedsCompilation: no
Materials: README NEWS
CRAN checks: forcats results

Documentation:

Reference manual: forcats.pdf
Vignettes: Introduction to forcats

Downloads:

Package source: forcats_0.5.1.tar.gz
Windows binaries: r-devel: forcats_0.5.1.zip, r-release: forcats_0.5.1.zip, r-oldrel: forcats_0.5.1.zip
macOS binaries: r-release (arm64): forcats_0.5.1.tgz, r-oldrel (arm64): forcats_0.5.1.tgz, r-release (x86_64): forcats_0.5.1.tgz, r-oldrel (x86_64): forcats_0.5.1.tgz
Old sources: forcats archive

Reverse dependencies:

Reverse imports: activAnalyzer, adventr, animalcules, animaltracker, apyramid, autoMrP, autostats, bibliometrix, brinton, broom.mixed, bruceR, bupaR, burnr, calendR, calendRio, cats, causact, ccostr, CellaRepertorium, CGPfunctions, cheese, ChromSCape, clustringr, cocktailApp, codebook, CohortPlat, ComPrAn, CoNI, correlationfunnel, cpsvote, crosstable, dabestr, dados, datos, DCPO, describedata, DescrTab2, descstat, dfoliatR, easyalluvial, edeaR, elaborator, ENMTools, ensModelVis, epikit, explore, extraChIPs, ezplot, factorMerger, fcaR, fedmatch, fedup, ffp, finalfit, forestecology, framecleaner, gapclosing, gemtc, genogeographer, gfilmm, GGally, ggblanket, ggdag, ggfacto, ggseqplot, ggstream, glancedata, glmmfields, glmSparseNet, globaltrends, GRaNIE, gtreg, gtsummary, haven, healthyR.ai, healthyR.ts, hermes, HiLDA, iNZightTools, iNZightTS, iotables, IRexamples, ISAnalytics, kayadata, lactater, lipidr, lmeresampler, magclass, matchmaker, mbRes, metabolic, metaconfoundr, microbiomeExplorer, migest, miRetrieve, mlfit, modeltime, modeltime.gluonts, modeltime.resample, MOFA2, mpwR, mshap, multinma, naniar, NanoMethViz, ngsReports, noaastormevents, OBL, OlinkAnalyze, Omixer, opitools, OutliersO3, owidR, palaeoSig, PanomiR, parcats, partition, plot3logit, pollster, prcr, prettyglm, processmapR, protti, r2dii.plot, r4ss, rbenvo, RCT, RSDA, rtsVis, safetyCharts, sccomp, scImmuneGraph, scipub, SCnorm, SEERaBomb, sense, sfcr, simlandr, simplecolors, simplevis, sitar, snap, soc.ca, stevemisc, suddengains, survivalAnalysis, survParamSim, SWTools, SynthCast, tabxplor, testcorr, TextForecast, tidycat, tidycomm, tidync, tidyndr, tidysynth, tidytidbits, tidyverse, timetk, ToxicR, Tplyr, truthiness, twoxtwo, UCSCXenaShiny, umiAnalyzer, unheadr, unpivotr, wcde, weed, wrappedtools, xadmix
Reverse suggests: BaseSet, bench, BindingSiteFinder, broom.helpers, catfun, cowplot, DAPAR, datplot, DisImpact, dm, domir, DSjobtracker, exuber, ferrn, forwards, genekitr, GenomicSuperSignature, ggdist, ggResidpanel, ggridges, glue, httk, i2dash, industRial, iNZightPlots, konfound, lvmisc, memes, MicrobiotaProcess, modelbased, multifunc, multiverse, NHSRdatasets, nntrf, nzelect, ohenery, openintro, outcomerate, pdxTrees, phenopath, pixarfilms, plotly, povcalnetR, projects, questionr, raw, robber, simstandard, slendr, sparseMVN, summarytools, survivoR, sweep, tidybayes, tidyEmoji, tidyHeatmap, tidyjson, tidylog, tidypaleo, tidyquant, treeheatr, unusualprofile, visR, vroom, whippr, workboots, yowie

Linking:

Please use the canonical form https://CRAN.R-project.org/package=forcats to link to this page.