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