powered by
Uses one-hot encoding to convert nominal vectors to a tibble containing variables for each of the unique values in input vector.
onehot_vec(x, prefix)
tibble
non-numeric vector
prefix to append to output variable names