powered by
Default class for candidate changepoint sets
new_seg_basket( x = numeric(), algorithm = NA, cpt_list = list(), seg_params = list(), model_name = "meanshift_norm", penalty = "BIC", ... )seg_basket(x, ...)
seg_basket(x, ...)
A seg_basket() object.
seg_basket()
a numeric vector coercible into a stats::ts() object
stats::ts()
Algorithm used to find the changepoints
a possibly empty list() of candidate changepoints
list()
a possibly empty list() of segmenter parameters
character indicating the model used to find the changepoints.
character indicating the name of the penalty function used to find the changepoints.
currently ignored
seg <- seg_basket(DataCPSim, cpt_list = list(c(365), c(330, 839))) str(seg) as.ts(seg) changepoints(seg) fitness(seg)
Run the code above in your browser using DataLab