Choice Modeling for Marketing in R
Elea McDonnell Feit
Assistant Professor of Marketing, Drexel University
To count up the number of times a car is chosen at each price point:
xtabs(choice ~ price, data = sportscar)
Resulting in:
price
30 35 40
1010 666 324
Choice Modeling for Marketing in R