Learn R Programming

dataquieR (version 1.0.8)

util_dichotomize: utility function to dichotomize variables

Description

use the meta data attribute RECODE (=<U+201C>recode<U+201D>) to dichotomize the data

Usage

util_dichotomize(study_data, meta_data, label_col = VAR_NAMES)

Arguments

study_data

Study data including jump/missing codes as specified in the code conventions

meta_data

Meta data as specified in the code conventions

label_col

variable attribute the name of the column in the metadata with labels of variables