tidycpt-class function

Container class for tidycpt objects

Container class for tidycpt objects

Returns

A tidycpt object.

Details

Every tidycpt object contains:

  • segmenter: The object returned by the underlying changepoint detection algorithm. These can be of arbitrary class. Use as.segmenter()

    to retrieve them.

  • model: A model object inheriting from mod_cpt , as created by as.model() when called on the segmenter.

  • elapsed_time: The clock time that passed while the algorithm was running.

  • time_index: If available, the labels for the time indices of the time series.

Examples

# Segment a time series using PELT x <- segment(CET, method = "pelt") class(x) str(x)