View source: R/addDemographics.R
addSex | R Documentation |
Compute the sex of the individuals
addSex(x, sexName = "sex", missingSexValue = "None", name = NULL)
x |
Table with individuals in the cdm. |
sexName |
name of the new column to be added. |
missingSexValue |
Value to include if missing sex. |
name |
Name of the new table, if NULL a temporary table is returned. |
table x with the added column with sex information.
cdm <- mockPatientProfiles()
cdm$cohort1 %>%
addSex()
mockDisconnect(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.