視覺化選擇資料

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   1627 1374
  manual 2373  626
xtabs(choice ~ trans, data=sportscar)
trans
  auto manual 
  1374    626
R 的行銷選擇模型

繪製 xtabs() 輸出

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

變速箱與選擇計數

R 的行銷選擇模型

依級距的變速箱選擇

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

各級距的變速箱選擇計數

R 的行銷選擇模型

一起來練習吧!

R 的行銷選擇模型

Preparing Video For Download...