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

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

Package details

AuthorJacob Kaplan [aut, cre] (<https://orcid.org/0000-0002-0601-0387>), Benjamin Schlegel [ctb]
MaintainerJacob Kaplan <jkkaplan6@gmail.com>
LicenseMIT + file LICENSE
Version1.7.3
URL https://github.com/jacobkap/fastDummies https://jacobkap.github.io/fastDummies/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("fastDummies")

Try the fastDummies package in your browser

Any scripts or data that you put into this service are public.

fastDummies documentation built on July 9, 2023, 7:08 p.m.