get_attr_lvl {echoice2}R 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)


[Package echoice2 version 0.2.4 Index]