R/dataprep_functions.R
make_event_drug_use.Rd
Prepare data: drug events for the plot
make_event_drug_use(drug_df, tmin = NULL, tmax = NULL)
drug dataframe
Minimum time
Maximum time
A dataframe with drug uses