fastDummies: Fast Creation of Dummy (Binary) Columns and Rows from Categorical Variables (original) (raw)

Creates dummy columns from columns that have categorical variables (character or factor types). You can also specify which columns to make dummies out of, or which columns to ignore. Also creates dummy rows from character, factor, and Date columns. This package provides a significant speed increase from creating dummy variables through model.matrix().

Version: 1.7.5
Depends: R (≥ 2.10)
Imports: data.table, tibble, stringr
Suggests: testthat (≥ 2.1.0), knitr, rmarkdown, covr, spelling
Published: 2025-01-20
DOI: 10.32614/CRAN.package.fastDummies
Author: Jacob Kaplan ORCID iD [aut, cre], Benjamin Schlegel [ctb]
Maintainer: Jacob Kaplan
BugReports: https://github.com/jacobkap/fastDummies/issues
License: MIT + file
URL: https://github.com/jacobkap/fastDummies,https://jacobkap.github.io/fastDummies/
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: fastDummies results

Documentation:

Downloads:

Reverse dependencies:

Reverse imports: bigDM, BiVariAn, bnpa, causalweight, ClusterVAR, CMMs, codez, conText, countts, deepdive, DMCFB, drf, framecleaner, fusedMGM, GenMarkov, getspanel, gscaLCA, jenga, manydist, MplusAutomation, MUGS, naive, NeuralSens, nlive, psyntur, RCTrep, ResIN, reslr, ReSurv, RobinCar, RUCova, scpi, segen, Seurat, smdi, spinner, spooky, TangledFeatures, tetragon, tidycomm, tidyvpc, tradeoffaucdim, TSCI
Reverse suggests: dagitty, IRTM, LLMAgentR, logitr, multifear

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=fastDummiesto link to this page.