powered by
Compute the sex of the individuals
addSex(x, sexName = "sex", missingSexValue = "None", name = NULL)
table x with the added column with sex information.
Table with individuals in the cdm.
name of the new column to be added.
Value to include if missing sex.
Name of the new table, if NULL a temporary table is returned.
# \donttest{ cdm <- mockPatientProfiles() cdm$cohort1 |> addSex() mockDisconnect(cdm = cdm) # }
Run the code above in your browser using DataLab