Learn R Programming

dataquieR (version 2.0.1)

util_dichotomize: utility function to dichotomize variables

Description

use the metadata attribute RECODE (="recode") 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

metadata as specified in the code conventions

label_col

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