durcomp.hospitalisation | R Documentation |
A sample dataset containing special periods (one per row) for 10 patients
over a period of roughly 18 months (28 events in total).
This is the appropriate format to compute event durations with the
compute_event_durations
function. Each row represents an individual special period of type
"hospitalization" of a patient for whom event durations should be calculated.
Besides hospitalizations, this could cover other situations
where medication use may differ, e.g. during incarcerations or holidays.
All column names must match the format provided in this example.
durcomp.hospitalisation
A data frame with 28 rows and 3 variables:
Integer here; patient unique identifier. Can also be string.
Date here;the start of the hospitalization period, by default in the yyyy-mm-dd format.Can also be string.
Date;the end of the hospitalization period, by default in the yyyy-mm-dd format. Can also be string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.