Learn R Programming

echoice2 (version 0.2.4)

get_attr_lvl: 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)

Value

tibble

Arguments

tdc

A tibble with choice data

Examples

Run this code
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