PeakSegOptimal: Optimal Segmentation Subject to Up-Down Constraints

Computes optimal changepoint models using the Poisson likelihood for non-negative count data, subject to the PeakSeg constraint: the first change must be up, second change down, third change up, etc. For more info about the models and algorithms, read "A log-linear time algorithm for constrained changepoint detection" <doi:10.48550/arXiv.1703.03352> by TD Hocking et al.

Version: 2024.1.24
Depends: R (≥ 2.10)
Imports: penaltyLearning
Suggests: PeakSegDP (≥ 2016.08.06), ggplot2, testthat, data.table (≥ 1.9.8)
Published: 2024-01-24
DOI: 10.32614/CRAN.package.PeakSegOptimal
Author: Toby Dylan Hocking
Maintainer: Toby Dylan Hocking <toby.hocking at>
License: GPL-3
NeedsCompilation: yes
Materials: NEWS
In views: Omics
CRAN checks: PeakSegOptimal results


Reference manual: PeakSegOptimal.pdf


Package source: PeakSegOptimal_2024.1.24.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): PeakSegOptimal_2024.1.24.tgz, r-oldrel (arm64): PeakSegOptimal_2024.1.24.tgz, r-release (x86_64): PeakSegOptimal_2024.1.24.tgz, r-oldrel (x86_64): PeakSegOptimal_2024.1.24.tgz
Old sources: PeakSegOptimal archive


Please use the canonical form to link to this page.