detector_candidates: Get the Candidate Segments

View source: R/RcppExports.R

detector_candidatesR Documentation

Get the Candidate Segments

Description

Returns detailed information about all candidate changepoint segments currently tracked by the detector.

Usage

detector_candidates(det_ptr)

Arguments

det_ptr

A "focus_detector" object created by detector_create().

Details

Each row represents a candidate segment from time tau to the current time. The sufficient statistics in st are used to efficiently compute test statistics without reprocessing the data.

Value

A data frame (tibble) with one row per candidate and columns:

tau

Numeric vector. Candidate changepoint locations, on the same scale as the changepoint estimate returned by get_statistics().

st

List of numeric vectors. Sufficient statistics for each candidate segment (e.g., cumulative sums of the data).

side

Character vector. Side indicator for each candidate (relevant for one-sided detectors).


focus documentation built on Sept. 17, 2026, 1:08 a.m.