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: 1.0.0
Depends: R (≥ 3.4)
Imports: cli (≥ 3.4.0), glue, lifecycle, magrittr, rlang (≥ 1.0.0), tibble
Suggests: covr, dplyr, ggplot2, knitr, readr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2023-01-29
DOI: 10.32614/CRAN.package.forcats
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_1.0.0.tar.gz
Windows binaries: r-devel: forcats_1.0.0.zip, r-release: forcats_1.0.0.zip, r-oldrel: forcats_1.0.0.zip
macOS binaries: r-release (arm64): forcats_1.0.0.tgz, r-oldrel (arm64): forcats_1.0.0.tgz, r-release (x86_64): forcats_1.0.0.tgz, r-oldrel (x86_64): forcats_1.0.0.tgz
Old sources: forcats archive

Reverse dependencies:

Reverse imports: activAnalyzer, adepro, adestr, adventr, animalcules, aplotExtra, apyramid, autoMrP, autoslider.core, BeeBDC, bibliometrix, BindingSiteFinder, BiostatsUHNplus, bonsaiforest, BREADR, brinton, broadSeq, broom.mixed, bupaR, burnr, calendR, calendRio, CAST, cats, causact, ccostr, CCPlotR, CGPfunctions, cheese, chevron, ChromSCape, cisp, clustringr, CMMs, cocktailApp, codebook, CoGAPS, CohortPlat, ComPrAn, ConfidenceEllipse, CoNI, correlationfunnel, cpsvote, crosstable, dados, datos, DCPO, describedata, DescrTab2, descstat, dfoliatR, DImodelsVis, dunlin, easyalluvial, EasyCellType, echoice2, EDCimport, eHDPrep, elaborator, ENMTools, epe4md, EpiForsk, epikit, evalITR, explore, extraChIPs, ezplot, fcaR, fdacluster, fedmatch, fedup, ffp, finalfit, flowmapper, FMAT, forestecology, framecleaner, FRI, fude, funneljoin, gapclosing, gdverse, gemtc, genogeographer, ggblanket, ggdag, ggfacto, ggplate, ggquickeda, ggseqplot, ggstats, ggstream, ggVennDiagram, glmmfields, glmSparseNet, globaltrends, GRaNIE, GRIN2, GTFSwizard, gtreg, haven, healthyR.ai, healthyR.ts, hermes, HiLDA, htrSPRanalysis, ideanet, injurytools, interfacer, iNZightTools, iNZightTS, iotables, iraceplot, IRexamples, ISAnalytics, janus, jmastats, kayadata, labNorm, LACE, lactater, lefser, lipidr, lmeresampler, madshapR, MALDIcellassay, markovmix, matchmaker, mbRes, MCOE, metabolic, metaconfoundr, migest, miRetrieve, mlfit, modeltime, modeltime.resample, MOFA2, mpwR, mshap, multinma, naniar, NanoMethViz, NeuroDecodeR, nevada, ngsReports, NMTox, noaastormevents, normfluodbf, npcs, nzilbb.vowels, OBL, OlinkAnalyze, OlympicRshiny, Omixer, openairmaps, opitools, OutliersO3, palaeoSig, PanomiR, parcats, partition, PEIMAN2, PERK, phylepic, PieGlyph, play, plotthis, pollster, prcr, prettyglm, processmapR, processpredictR, ProteinGymR, protti, psmineR, r4ss, RCT, REDCapCAST, REDCapDM, REDCapTidieR, rjaf, RSDA, safetyCharts, SafeVote, sampbias, sampcompR, saros, saros.base, sccomp, scCustomize, scipub, SCnorm, seahtrue, SEERaBomb, sense, sfcr, ShapleyOutlier, sherlock, SIAmodules, simaerep, simlandr, simplanonym, simplecolors, sitar, smdi, snap, snpAIMeR, soc.ca, stevemisc, suddengains, survivalAnalysis, survParamSim, SWTools, synthpop, tabxplor, teal.modules.general, tern, testcorr, TextForecast, tfrmt, tfrmtbuilder, tidyAML, tidycat, tidycomm, tidync, tidyplots, tidyrates, tidytidbits, tidytlg, tidyverse, timetk, Tplyr, twoxtwo, UCSCXenaShiny, umiAnalyzer, UnalR, unheadr, unpivotr, UpAndDownPlots, visdat, vvshiny, wcde, weed, WMAP, wrappedtools, xadmix, xpose.xtras
Reverse suggests: allofus, alone, atrrr, autostats, BaseSet, bench, broom.helpers, bruceR, bsitar, bugphyzz, cat2cat, catfun, cfr, constructive, cowplot, csdata, CuratedAtlasQueryR, DAPAR, datplot, densityarea, DisImpact, dm, domir, DSjobtracker, eph, explainer, exuber, ferrn, finalsize, forwards, genekitr, GenomicSuperSignature, ggfoundry, ggmapinset, ggResidpanel, ggridges, ggsc, graphicalMCP, gratia, httk, industRial, iNZightPlots, ipeaplot, isoorbi, jlmerclusterperm, konfound, lay, learningtower, lvmisc, memes, MicrobiotaProcess, mikropml, mtsta, multifunc, multiverse, naryn, NHSRdatasets, nzelect, ohenery, openintro, outcomerate, pdxTrees, phenopath, pixarfilms, plotly, plotor, PPtreeregViz, profiplots, projects, public.ctn0094data, questionr, rar, raw, robber, RobinCar, robustmatrix, rTPC, SCpubr, simdata, simstandard, slendr, sparseMVN, statquotes, summarytools, survivoR, sweep, teal.modules.clinical, tidybayes, tidyEmoji, tidyHeatmap, tidyjson, tidylog, tidypaleo, tidyquant, tidytof, tntpr, treeheatr, unusualprofile, vroom, washi, whippr

Linking:

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