Skip to contents

Design

design_schedule()
Generate a randomized N-of-1 intervention schedule
check_schedule()
Diagnose a randomization schedule
sim_power()
Simulation-based power for an N-of-1 design

Hand-off to collection

write_schedule()
Export a schedule for the mobile data-collection layer

Data return and quality control

read_ema()
Read EMA records into a tidy data frame
validate_ema()
Check EMA records for the problems that actually occur
compliance()
Compliance against scheduled prompts