Base class for segmenters
new_seg_cpt( x = numeric(), pkg = character(), algorithm = NA, changepoints = integer(), fitness = double(), seg_params = list(), model_name = "meanshift_norm", penalty = "BIC", ... ) seg_cpt(x, ...)
x
: a numeric vector coercible into a stats::ts()
objectpkg
: name of the package providing the segmenteralgorithm
: Algorithm used to find the changepointschangepoints
: a possibly empty list()
of candidate changepointsfitness
: A named double
vector whose name reflects the penalty appliedseg_params
: a possibly empty list()
of segmenter parametersmodel_name
: character indicating the model used to find the changepoints.penalty
: character indicating the name of the penalty function used to find the changepoints....
: currently ignoredA seg_cpt object.