Adjust anomaly detection results for current batch
adjust_proc.RdFilters and shifts the anomaly detection results (`proc`) so that they align with the time window of the current batch. Optionally includes some earlier values to compensate for tail-side loss due to moving average smoothing.
Arguments
- proc
A data frame returned from anomaly detection, including `GPS` and `cluster` columns.
- curr_batch
A `ts` object for the current batch, used to define time bounds.
- n_missed
A list indicating how many time points to include before the current batch (e.g., `n_missed[["Mt"]]` due to moving average tail loss).