powered by
transforming a category tibble into the corresponding dummy variable tibble
dummy_tbl(tbl)
A tibble
tibble
A tibble or data.frame.
data.frame
a = tibble::tibble(x = 1:3,y = 4:6) dummy_tbl(a)
Run the code above in your browser using DataLab