Major revision of compute_event_duration with bug fixes, extended capabilities for special periods, and new output format;
Revision of time_to_initiation with some optimisation and bug fixes;
New function prune_event_durations to remove carry-over supplies shortly after a dosage change or the end of a special period or treatment interruption;
New function cover_special_periods to identify special periods that are in proximity to already covered durations and add an additional event for these durations;
Addition of treat.epi argument to CMA_per_episode, which allows to specify precomputed episodes (e.g. output of compute_event_duration);
Online-only vignette "Data preparation for computing adherence to medication in AdhereR".
compute_event_duration
with bug fixes, extended capabilities for special periods, and new output format;time_to_initiation
with some optimisation and bug fixes;prune_event_durations
to remove carry-over supplies shortly after a dosage change or the end of a special period or treatment interruption;cover_special_periods
to identify special periods that are in proximity to already covered durations and add an additional event for these durations;treat.epi
argument toCMA_per_episode
, which allows to specify precomputed episodes (e.g. output ofcompute_event_duration
);