Skip to contents

Compute one-hot matrix for given data frame and variable (s)

Usage

group_onehot(x, ivar)

Arguments

x

Input data frame.

ivar

Variable (s) for one-hot computation.