hospitalizations_example: Example hospitalization data

hospitalizations_exampleR Documentation

Example hospitalization data

Description

A synthetic dataset containing hospitalization periods for two individuals. Intended for testing how hospital stays affect drug exposure estimation in the PRE2DUP-R package.

Usage

hospitalizations_example

Format

A 'data.table' with the following variables:

id

Person identifier (integer)

hospital_start

Start date of the hospitalization period (Date)

hospital_end

End date of the hospitalization period (Date)

Details

This data can be used to test how PRE2DUP-R handles inpatient periods when outpatient medications are not used.

Source

Simulated data created for package documentation.

See Also

pre2dup, check_hospitalizations


piavat/PRE2DUP-R documentation built on June 11, 2025, 11:42 a.m.