dummify_factor: Factor to Dummy Matrix

Description Usage Arguments

Description

Converts a factor into a dummy matrix

Usage

1
  dummify_factor(x, labels = TRUE, full = TRUE)

Arguments

x

factor

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.