Learn R Programming

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

fastDummies (version 1.6.1)

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

45,626

Version

1.6.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

March 7th, 2020

Functions in fastDummies (1.6.1)

dummy_cols

Fast creation of dummy variables
dummy_columns

Fast creation of dummy variables
dummy_rows

Fast creation of dummy rows