Changepoints in time series are detected using the cpt.mean function in the changepoint R package 117, which is ideal for focusing on the mean state of the target interval and thus enables optimal ...