util_dichotomize: utility function to dichotomize variables

Description Usage Arguments

View source: R/util_dichotomize.R

Description

use the meta data attribute RECODE (=“recode”) to dichotomize the data

Usage

1
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


dataquieR documentation built on Feb. 26, 2021, 5:08 p.m.