Supplementary code for Individual Differences in the Temporal Relationship Between Sleep and Agitation: a Single-Subject Study in Nursing Home Residents With Dementia Experiencing Sleep Disturbance and Agitation
After adding the data, you can run the run.R
file to run all calculations.