Pre-process time data for adherence
adherence_preprocess(
timestamps,
regimen,
patinfo = list(),
nonmonit = data.frame()
)A list of output variables
all_periods - Processed timestamps into periods applying input parameters.
Input timestamps - vector of timestamps
Regimen - regimen definition
Patient info - patient specific information
Non-monitored date intervals