View source: R/helpers-conjoint-experiments.R
tidy.amce | R Documentation |
Runs amce estimation function and returns tidy data frame output
## S3 method for class 'amce'
tidy(x, alpha = 0.05, ...)
x |
an amce fit object from cjoint::amce |
alpha |
Confidence level |
... |
Extra arguments to pass to tidy |
See https://book.declaredesign.org/experimental-descriptive.html#conjoint-experiments
a data.frame of estimates
library(cjoint)
data(immigrationconjoint)
data(immigrationdesign)
# Run AMCE estimator using all attributes in the design
results <- amce(Chosen_Immigrant ~ Gender + Education + `Language Skills` +
`Country of Origin` + Job + `Job Experience` + `Job Plans` +
`Reason for Application` + `Prior Entry`, data = immigrationconjoint,
cluster = TRUE, respondent.id = "CaseID", design = immigrationdesign)
# Print summary
# tidy(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.