  We present tidychangepoint, a new R package for changepoint detection
analysis. tidychangepoint leverages existing packages like changepoint, GA,
tsibble, and broom to provide tidyverse-compliant tools for segmenting
univariate time series using various changepoint detection algorithms. In
addition, tidychangepoint also provides model-fitting procedures for
commonly-used parametric models, tools for computing various penalized
objective functions, and graphical diagnostic displays. tidychangepoint wraps
both deterministic algorithms like PELT, and also flexible, randomized, genetic
algorithms that can be used with any compliant model-fitting function and any
penalized objective function. By bringing all of these disparate tools together
in a cohesive fashion, tidychangepoint facilitates comparative analysis of
changepoint detection algorithms and models.
