toshi-ara/makedummies: Create Dummy Variables from Categorical Data

Create dummy variables from categorical data. This package can convert categorical data (factor and ordered) into dummy variables and handle multiple columns simultaneously. This package enables to select whether a dummy variable for base group is included (for principal component analysis/factor analysis) or excluded (for regression analysis) by an option. 'makedummies' function accepts 'data.frame', 'matrix', and 'tbl' (tibble) class (by 'tibble' package). 'matrix' class data is automatically converted to 'data.frame' class.

Getting started

Package details

Maintainer
LicenseGPL-2
Version1.2.1
URL https://github.com/toshi-ara/makedummies
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("toshi-ara/makedummies")
toshi-ara/makedummies documentation built on Aug. 5, 2019, 5:04 a.m.