dummify_dataframe: Data Frame to Dummy Matrix

Description Usage Arguments

Description

Converts a data frame of factors into a dummy matrix (aka Complete Disjunctive Table)

Usage

1

Arguments

x

data frame with categorical variables as factors

labels

should labels for row and columns be included?

full

whether all categories are included. When full = FALSE then the first category is removed.


gastonstat/matrixkit documentation built on May 16, 2019, 5:45 p.m.