death_status | R Documentation |
Returns whether a death event has been reported for each participant.
death_status(data, death_date_col = f.40000.0.0.Date_of_death)
data |
The primarydata frame. Thisdata frame includes all necessary columns required to perform look-ups (e.g. ICD10 code columns, medication code columns, age, sex, etc.). |
death_date_col |
Template column name for date of death. |
Most functions in this package will take column names (*_col
) as optional arguments (otherwise a default column names are used) which are then used as templates to find all other columns with the same field number, but different instance and array numbers. These functions will automatically find all matching instances (and arrays within each instance) within the specified parameters. Internally, a set of expand_instance_*()
helper functions, which themselves rely on the column_expansion_helper()
function, perform the work of searching for matching columns.
years_from_date_to_death()
, years_from_instance_to_death()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.