Learn R Programming

echoice2 (version 0.2.4)

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

Value

A tibble with one row per attribute, and a list of the levels

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.

Examples

Run this code
data(icecream)
ec_summarize_attrlvls(icecream)

Run the code above in your browser using DataLab