View source: R/main_delay_funcs.R
Count prior visits assocatied with a given condition
1 2 3 4 5 6 | count_prior_events_truven(
time_map_data,
event_name,
start_day = 1L,
by_days = 1L
)
|
time_map_data |
A timemap with indicators for specific events (i.e. diagnoses during a given visit) |
event_name |
The variable name for the even indicator |
start_day |
When to start counting prior to the index |
by_days |
The number of days in each bin to count by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.