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