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

AuthorToshiaki Ara [aut, cre]
MaintainerToshiaki Ara <toshiaki.ara@gmail.com>
LicenseGPL-2
Version1.2.1
URL https://github.com/toshi-ara/makedummies
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("makedummies")

Try the makedummies package in your browser

Any scripts or data that you put into this service are public.

makedummies documentation built on Aug. 4, 2019, 5:03 p.m.