# NOT RUN {
# Run a MNL model in the Preference Space:
data(yogurt)
mnl_pref <- logitr(
data = yogurt,
choiceName = "choice",
obsIDName = "obsID",
parNames = c("price", "feat", "dannon", "hiland", "yoplait")
)
# Get the model coefficients:
coef(mnl_pref)
# }
Run the code above in your browser using DataLab