Skip to contents

Create the demographic flags for testing

Usage

create_demog_test_flags(data, chi = c(chi, anon_chi))

Arguments

data

a dataframe containing demographic variables e.g. chi

chi

Specify chi or anon_chi.

Value

a dataframe with flag (1 or 0) for each demographic variable. Missing value flag from is_missing()