視覺化選擇資料

R 的行銷選擇模型

Elea McDonnell Feit

Assistant Professor of Marketing, Drexel University

xtabs(~ trans, data = sportscar)
trans
  auto manual 
  3001   2999
xtabs(~ trans + choice, data = sportscar)
        choice
trans       0    1
  auto   1673 1328
  manual 2327  672
xtabs(choice ~ trans, data=sportscar)
trans
  auto manual 
  1328    672
R 的行銷選擇模型

繪製 xtabs() 輸出

plot(xtabs(~ trans + choice, data = sportscar))

變速系統與選擇的計數

R 的行銷選擇模型

各細分市場的變速選擇

plot(xtabs(~ trans + segment + choice, data = sportscar))

變速系統、細分市場與選擇的計數

R 的行銷選擇模型

一起來練習吧!

R 的行銷選擇模型

Preparing Video For Download...