get_attr_lvl: Obtain attributes and levels from tidy choice data with...

View source: R/echoice2.R

get_attr_lvlR Documentation

Obtain attributes and levels from tidy choice data with dummies

Description

Obtain attributes and levels from tidy choice data with dummies

Usage

get_attr_lvl(tdc)

Arguments

tdc

A tibble with choice data

Value

tibble

Examples

mytest=data.frame(A=factor(c('a','a','b','c','c')), B=1:5)
dummied_data = dummify(mytest,"A")
get_attr_lvl(dummied_data)


echoice2 documentation built on Nov. 20, 2023, 9:06 a.m.