Learn R Programming

rtemis (version 0.79)

oneHot: One hot encoding

Description

One hot encode all factors in a data.frame

Usage

oneHot(x, verbose = TRUE)

Arguments

x

data.frame

Value

data.frame where all factors are one hot encoded