powered by
Sample artificial data in rank mode. Ranking (rank) data needs conversion into rating (score) data.
data(lody) lpref lprof llevn
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.
# NOT RUN { library(conjoint) data(lody) print(lprof) print(lpref) print(llevn) # }
Run the code above in your browser using DataLab