Data and code from Walter et al. (2022) An algorithm for detecting and quantifying disturbance and recovery in high-frequency time series. Limnology & Oceanography-Methods doi: 10.1002/lom3.10490.
To use this code, first install the 'disturbhf' R package, currently available at https://github.com/jonathan-walter/disturbhf-test-ms.git.