Description Usage Arguments Value Examples
This function allows you to merge a blood pressure dataframe with an indicator variable dataframe on the Patient MRN variable. The variable names for Patient MRN can be different in the two dataframes. (See also: 'wfbmcr::summarize_bp_dt' for blood pressure data table creation and 'wfbmcr::has_seen_nephrologist' for an example of an indicator variable data table creation using nephrology data)
1 2 | merge_bpdt_w_indicator(bp_df, bp_pat_mrn, indic_df, indic_pat_mrn,
indic_var_name)
|
bp_df |
A dataframe which includes summarized blood pressure data (see: 'wfbmcr::summarize_bp_dt') |
bp_pat_mrn |
Patient MRN variable for the blood pressure dataframe |
indic_df |
A dataframe which includes indicator variable data (ex: 'wfbmcr::has_seen_nephrologist') |
indic_pat_mrn |
Patient MRN variable for the indicator variable dataframe |
indic_var_name |
The name of the indicator variable from the indicator variable dataframe |
A merged data table providing blood pressure and indicator variables of interest
1 2 3 4 5 | ## Not run:
merge_bpdt_w_indicator(bp_df, bp_pat_mrn = Patient.MRN, indic_df = neph_df, indic_pat_mrn = PAT_MRN_ID,
indic_var_name = has_seen_neph)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.