tidycpt-class | R Documentation |
tidycpt
objectsContainer class for tidycpt
objects
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.
A tidycpt object.
# Segment a time series using PELT
x <- segment(CET, method = "pelt")
class(x)
str(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.