powered by
Sample artificial data in rank mode. Ranking (rank) data needs conversion into rating (score) data.
data(lody)
lpref
Matrix of preferences (6 respondents and 9 profiles).
lprof
Matrix of profiles (4 attributes and 9 profiles).
llevn
Character vector of names for the attributes' levels.
library(conjoint) data(lody) print(lpref) print(lprof) print(llevn)
Run the code above in your browser using DataLab