Reporting / Exporter
Mis à jour
Ce contenu vous a-t-il été utile ?
Ce contenu vous a-t-il été utile ?
# read the conjoint csv export file that you have exported from ngSurvey. Make sure to use the right separator based on your CSV file output
data <- read.csv("c:\\conjointdata.csv", sep = ",")
# Must be the number of attributes that you have defined in your conjoint question, here we have 3 attributes
xcoding = c(0, 0, 0)
mcmc = list(R = 4000, use = 2000)
options = list(none = FALSE, keep = 5)
choicemodelr(data = data, xcoding = xcoding, mcmc = mcmc, options = options, directory = tempdir())