detector_candidates: Get candidate segments

View source: R/RcppExports.R

detector_candidatesR Documentation

Get candidate segments

Description

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

Usage

detector_candidates(info_ptr)

Arguments

info_ptr

External pointer to detector 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 columns:

tau

Integer vector. Candidate changepoint locations (0-based indices).

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 March 30, 2026, 5:08 p.m.