How many choices do we have?
I've loaded a data frame called chocolate_wide
that contains choice data collected in a survey. In each question, a respondent chose between three chocolate bars with different brand
, price
and type
. The data is in wide format, so each row represents one choice. How many choices are in the chocolate_wide
data frame?
Cet exercice fait partie du cours
Choice Modeling for Marketing in R
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
