Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

sdsfun (version 0.7.0)

dummy_tbl: transforming a category tibble into the corresponding dummy variable tibble

Description

transforming a category tibble into the corresponding dummy variable tibble

Usage

dummy_tbl(tbl)

Value

A tibble

Arguments

tbl

A tibble or data.frame.

Examples

Run this code
a = tibble::tibble(x = 1:3,y = 4:6)
dummy_tbl(a)

Run the code above in your browser using DataLab