Learn R Programming

fastDummies (version 1.7.5)

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

Description

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

Copy Link

Version

Install

install.packages('fastDummies')

Monthly Downloads

53,926

Version

1.7.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jacob Kaplan

Last Published

January 20th, 2025

Functions in fastDummies (1.7.5)

dummy_cols

Fast creation of dummy variables
dummy_columns

Fast creation of dummy variables
dummy_rows

Fast creation of dummy rows