SegRDA provide functions for performing a piecewise redundancy analysis. This package is designed for (1) ordering the target data, (2) identifying the breakpoints using a spli-moving analysis and (3) performing a piecewise regression.
Either install from CRAN, or directly from GitHub using the code below. Note that GitHub is the development version of the package, which may or may not differ from what’s on CRAN.