Description Usage Arguments Value Examples
View source: R/model_functions.R
Prepare a time map for incidence modeling
1 | get_incidence_data(time_map, demo_data, change_point, days_before = -1)
|
time_map |
A time map in the format of the package example |
demo_data |
A dataframe of demographic data for the enrollees |
change_point |
The changepoint on which to base the dataset (must be <=-1) |
days_before |
Number of days before index to start classifying as a miss |
A dataframe containing the outcome "miss" and covariates for each row
1 | get_incidence_data(time_map=final_time_map, demo_data=demographics, change_point=-90, days_before= -1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.