Learn R Programming

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

Overview

The goal of fastDummies is to quickly create dummy variables (columns) and dummy rows. Creating dummy variables is possible through base R or other packages, but this package is much faster than those methods.

Installation

To install this package, use the code
install.packages("fastDummies")


# The development version is available on Github.
# install.packages("devtools")
devtools::install_github("jacobkap/fastDummies")

Usage

library(fastDummies)

There are two functions in this package:

  • dummy_cols() lets you make dummy variables (dummy_columns() is a clone of dummy_cols())
  • dummy_rows() which lets you make dummy rows.

Copy Link

Version

Install

install.packages('fastDummies')

Monthly Downloads

45,721

Version

1.2.0

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Jacob Kaplan

Last Published

June 21st, 2018

Functions in fastDummies (1.2.0)

dummy_rows

Fast creation of dummy rows
dummy_columns

Fast creation of dummy variables
dummy_cols

Fast creation of dummy variables