char2choice | R Documentation |
Simple function to generate REDCap choices from character vector
char2choice(data, char.split = "/", raw = NULL, .default = NA)
data |
vector |
char.split |
splitting character(s) |
raw |
specific values. Can be used for options of same length. |
.default |
default value for missing. Default is NA. |
vector
char2choice(c("yes/no"," yep. / nope ","",NA,"what"),.default=NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.