View source: R/utils-transform.R
| to_factor | R Documentation |
This function converts all variables in the dataset to factors, except those specified in the exclude parameter.
to_factor(data, dic, exclude = NULL)
data |
Data frame containing the REDCap data. |
dic |
Data frame containing the REDCap dictionary. |
exclude |
Character vector specifying the names of variables that should not be converted to factors. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.