AdhereR
AdhereR copied to clipboard
CMA_per_episode for adherence threshold
An option to calculate episodes with CMA values at or over a certain threshold. This could be achieved inexpensively by:
CMA_per_episode(CMA="CMA1",
data=med.events,
maximum.permissible.gap = 0.8, #CMA threshold for episodes
maximum.permissible.gap.unit = "CMA", #
date.format="%m/%d/%Y")