get_attr_lvl {echoice2} | R Documentation |
Obtain attributes and levels from tidy choice data with dummies
get_attr_lvl(tdc)
tdc |
A tibble with choice data |
tibble
mytest=data.frame(A=factor(c('a','a','b','c','c')), B=1:5)
dummied_data = dummify(mytest,"A")
get_attr_lvl(dummied_data)