Description Usage Arguments Examples
This function creates dummy variables for a multiple choice, multiple option
question. Suggested data check: Run get_mcmoopts()
first to see what
survey choices are being found, if you are not using custom survey choices.
1 | get_mcmodummies(item, ...)
|
item |
Data vector from MCMO question |
... |
Other options as in |
1 2 3 4 | # Print dummy variables of MCMO question "Q3" in "survey" data.frame object
get_mcmodummies(survey$Q3)
# Omit "Computer science" option
get_mcmodummies(survey$Q3, omit="Computer science")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.