Segment a time series by manually inputting the changepoint set
segment_manual(x, tau,...)
Arguments
x: A time series
tau: a set of indices representing a changepoint set
...: arguments passed to seg_cpt
Returns
A seg_cpt object
Details
Sometimes you want to see how a manually input set of changepoints performs. This function takes a time series and a changepoint detection set as inputs and returns a seg_cpt object representing the segmenter. Note that by default fit_meanshift_norm() is used to fit the model and BIC() is used as the penalized objective function.
Examples
# Segment a time series manuallysegment_manual(CET, tau = c(84,330))segment_manual(CET, tau =NULL)