powered by
Sample artificial data in score mode. Rating (score) data does not need any conversion.
data(plyty)
ppref
Matrix of preferences (6 respondents and 8 profiles).
pprof
Matrix of profiles (3 attributes and 8 profiles).
plevn
Character vector of names for the attributes' levels.
library(conjoint) data(plyty) print(ppref) print(pprof) print(plevn)
Run the code above in your browser using DataLab