util_dichotomize: utility function to dichotomize variables

View source: R/util_dichotomize.R

util_dichotomizeR Documentation

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

See Also

Other data_management: util_assign_levlabs(), util_check_data_type(), util_check_group_levels(), util_compare_meta_with_study(), util_merge_data_frame_list(), util_rbind(), util_remove_na_records(), util_replace_hard_limit_violations(), util_study_var2factor(), util_table_of_vct()


dataquieR documentation built on May 29, 2024, 7:18 a.m.