View source: R/analyze_choices.R
plot_choice | R Documentation |
Plot choice shares
plot_choice(db, str_id, str_ct, str_choice)
db |
A data.frame or tibble |
str_id |
A character string giving the name of the individual id variable |
str_ct |
A character string giving the name of the choice task variable |
str_choice |
A character string giving the name of the choice variable |
A plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.