Package: segmentr 0.2.0

Thales Mello

segmentr: Segment Data Minimizing a Cost Function

Given a cost function provided by the user, this package applies it to a given matrix dataset in order to find change points in the data that minimize the sum of the costs of all the segments. This package provides a handful of algorithms with different time complexities and assumption compromises so the user is able to choose the best one for the problem at hand. The implementation of the segmentation algorithms in this package are based on the paper by Bruno M. de Castro, Florencia Leonardi (2018) <arxiv:1501.01756>. The Berlin weather sample dataset was provided by Deutscher Wetterdienst <https://dwd.de/>. You can find all the references in the Acknowledgments section of this package's repository via the URL below.

Authors:Thales Mello [aut, cre, cph], Florencia Leonardi [aut, cph, ths], Bruno M. de Castro [cph], Deutscher Wetterdienst [cph]

segmentr_0.2.0.tar.gz
segmentr_0.2.0.zip(r-4.5)segmentr_0.2.0.zip(r-4.4)segmentr_0.2.0.zip(r-4.3)
segmentr_0.2.0.tgz(r-4.5-x86_64)segmentr_0.2.0.tgz(r-4.5-arm64)segmentr_0.2.0.tgz(r-4.4-x86_64)segmentr_0.2.0.tgz(r-4.4-arm64)segmentr_0.2.0.tgz(r-4.3-x86_64)segmentr_0.2.0.tgz(r-4.3-arm64)
segmentr_0.2.0.tar.gz(r-4.5-noble)segmentr_0.2.0.tar.gz(r-4.4-noble)
segmentr_0.2.0.tgz(r-4.4-emscripten)segmentr_0.2.0.tgz(r-4.3-emscripten)
segmentr.pdf |segmentr.html
segmentr/json (API)
NEWS

# Install 'segmentr' in R:
install.packages('segmentr', repos = c('https://segmentr-package.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thalesmello/segmentr/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • berlin - Daily temperatures from weather stations in Berlin

On CRAN:

cpp

4.52 score 3 stars 22 scripts 152 downloads 8 exports 5 dependencies

Last updated 5 years agofrom:a75c0affff. Checks:1 OK, 10 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 10 2025
R-4.5-win-x86_64NOTEFeb 10 2025
R-4.5-mac-x86_64NOTEFeb 10 2025
R-4.5-mac-aarch64NOTEFeb 10 2025
R-4.5-linux-x86_64NOTEFeb 10 2025
R-4.4-win-x86_64NOTEFeb 10 2025
R-4.4-mac-x86_64NOTEFeb 10 2025
R-4.4-mac-aarch64NOTEFeb 10 2025
R-4.3-win-x86_64NOTEFeb 10 2025
R-4.3-mac-x86_64NOTEFeb 10 2025
R-4.3-mac-aarch64NOTEFeb 10 2025

Exports:auto_penalizecalculate_likelihoodexactalghieralghybridalgmultivariater_multivariatesegment

Dependencies:codetoolsforeachglueiteratorsRcpp

Segmenting data with Segmentr

Rendered fromsegmentr.Rmdusingknitr::rmarkdownon Feb 10 2025.

Last update: 2019-08-28
Started: 2019-01-07