ec_summarize_attrlvls {echoice2} | R Documentation |
Summarize attributes and levels in tidy choice data containing categorical attributes (before dummy-coding)
ec_summarize_attrlvls(data_in)
ec_summarise_attrlvls(data_in)
data_in |
A tibble, containing long-format choice data |
This functions looks for categorical attributes and summaries their levels This is helpful when evaluating a new choice data file.
A tibble with one row per attribute, and a list of the levels
data(icecream)
ec_summarize_attrlvls(icecream)