Skip to contents

Treats samples as segments separated by change points. Returns indices of the first sample of each segment.

Usage

locate_vector_segments(.input, .penalty)

Arguments

.input

Measurement results to analyze.

.penalty

A numerical penalty or barrett for penalty computation from Barrett et al..

Value

Vector of segment starting points.

Details

Relies on the PELT algorithm implementation in the changepoint::cpt.meanvar() function.