| to_factor {REDCapDM} | R Documentation | 
Convert variables to factors
Description
Function that converts every variable except those specified to factor.
Usage
to_factor(data, dic, exclude = NULL)
Arguments
data | 
 Dataset containing the REDCap data.  | 
dic | 
 Dataset containing the REDCap dictionary.  | 
exclude | 
 Character vector containing the names of those variables that will not be converted to factors. If 'NULL', all variables will be converted.  | 
[Package REDCapDM version 0.9.9 Index]