Parses data from an MCMO question and returns a vector of possible options.
1 2 | get_mcmoopts(item, delim = ",", omit = c(), custom.respopts = c(),
escape = TRUE)
|
item |
Data vector from MCMO question |
delim |
Delimiter for multiple selections, default is a comma |
omit |
Vector of options which should be ignored |
escape |
Escapes R special characters, default is TRUE # Get options from MCMO question "Q3" in "survey" data.frame object get_mcmoopts(survey$Q3) # Omit "Computer science" option get_mcmoopts(survey$Q3, omit="Computer science") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.