Wraps the not package for changepoint detection via the
Narrowest-Over-Threshold method. The contrast determines what change is
detected: piecewise-constant mean (default), mean and variance, or
(continuous or discontinuous) piecewise-linear trend.
Arguments
- x
A numeric vector.
- contrast
Contrast type. One of
"pcwsConstMean","pcwsLinContMean","pcwsLinMean","pcwsConstMeanVar". Defaults to"pcwsConstMean".- seed
Optional seed for reproducibility.
- ...
Additional arguments passed to
not::not().
