Hi, I am a student from Korea. Currently I use Support. CEs package to conduct a choice-based conjoint analysis, but encounter some problems.I hope I can get a solution here. Here's my problem.I 've done the design matrix data set, and have a respondent data set. But when I try to use the "make.design.matrix" function to creat a dataset that is suitable for the function clogit, there is always an error occur. The error is "Error in order(my.respondent.dataset$ID): argument 1 is not a vector". I want to know why this error happens, and how to correct. And the attached images are design matrix data set (desmat1p), respondent data set (persimmons1), and the code & error I'll appreciate if you can reply as soon as possible. best regards, Mia.
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.