View source: R/class-seg_basket.R
new_seg_basket | R Documentation |
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, ...)
x |
a numeric vector coercible into a |
algorithm |
Algorithm used to find the changepoints |
cpt_list |
a possibly empty |
seg_params |
a possibly empty |
model_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 ignored |
A seg_basket()
object.
seg <- seg_basket(DataCPSim, cpt_list = list(c(365), c(330, 839)))
str(seg)
as.ts(seg)
changepoints(seg)
fitness(seg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.