n only. In response to this, “PeakSeg” was proposed, which is a constrained maximum Poisson likelihood segmentation model (more information on which can be found <a href="https://dl.acm.org/doi/abs/10.5555/3045118.3045154">here</a>).</p>
<p>The package <code>PeakSegDP</code> provides the baseline that computes an approximate solution (subject to a constraint on the number of segments) to the up-down (changes must alternate following an up-down trend) constrained problem which satisfies the PeakSeg const