Learn R Programming

⚠️There's a newer version (1.7.4) of this package.Take me there.

fastDummies (version 1.7.3)

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,463

Version

1.7.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

July 6th, 2023

Functions in fastDummies (1.7.3)

dummy_rows

Fast creation of dummy rows
dummy_cols

Fast creation of dummy variables
dummy_columns

Fast creation of dummy variables