Generic S3 generic for event detection using a fitted Harbinger model.
Concrete methods are implemented by each detector class.
Usage
detect(obj, ...)
Value
A data frame with columns: idx (index), event (logical), and
type (character: "anomaly", "changepoint", or ""). Some detectors may
also attach attributes (e.g., threshold) or columns (e.g., seq, seqlen).