View source: R/check_helpers.R
combine_overlaps | R Documentation |
Combine Overlapping Hospitalizations
combine_overlaps(personid, admission, discharge)
personid |
a vector of person identifiers in hospitalization data. |
admission |
a vector of admission dates. |
discharge |
a vector of discharge dates. |
a data.table with combined hospitalizations, where overlapping hospitalizations are merged into single records.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.