What types of chocolate do people choose?
The chocolate data has been loaded in long format with one row for each alternative in each observed choice. Remember that the Type, Brand and Price describe each alternative and the Selection variable tells us what the respondent chose. Let's use xtabs() to find out how often people choose each type of chocolate.
Este ejercicio forma parte del curso
Choice Modeling for Marketing in R
Ejercicio interactivo práctico
Pon en práctica la teoría con uno de nuestros ejercicios interactivos
Empezar ejercicio