powered by
Obtain attributes and levels from tidy choice data with dummies
get_attr_lvl(tdc)
tibble
A tibble with choice data
mytest=data.frame(A=factor(c('a','a','b','c','c')), B=1:5) dummied_data = dummify(mytest,"A") get_attr_lvl(dummied_data)
Run the code above in your browser using DataLab