View source: R/read_redcap_tables.R
format_redcap_factor | R Documentation |
Applying as_factor to the data.frame or variable, will coerce to a factor.
format_redcap_factor(data, meta)
data |
vector |
meta |
vector of REDCap choices |
vector of class "labelled" with a "labels" attribute
format_redcap_factor(sample(1:3, 20, TRUE), "1, First. | 2, second | 3, THIRD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.