View source: R/prep_valuelabels_from_data.R
prep_valuelabels_from_data | R Documentation |
Detects factors and converts them to compatible metadata/study data.
prep_valuelabels_from_data(resp_vars = colnames(study_data), study_data)
resp_vars |
variable names of the variables to fetch the value labels from the data |
study_data |
data.frame the data frame that contains the measurements |
a list with:
VALUE_LABELS
: vector of value labels and modified study data
ModifiedStudyData
: study data with factors as integers
## Not run:
dataquieR::prep_datatype_from_data(iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.