group_onehot {GTEs} | R Documentation |
Compute one-hot matrix for given data frame and variable (s)
Description
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. |
[Package GTEs version 1.0.0 Index]