View source: R/utils-transform.R
| checkbox_names | R Documentation |
This function updates the names of checkboxes in the dataset and dictionary to reflect the names of their options.
checkbox_names(data, dic, labels, checkbox_labels = c("No", "Yes"))
data |
Dataset containing the REDCap data. |
dic |
Dataset containing the REDCap dictionary. |
labels |
Named character vector with the names of the variables in the data and their corresponding REDCap labels. |
checkbox_labels |
Character vector specifying the names for the two options of each checkbox variable. The default is |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.