CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Choice Modeling for Marketing in R

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice