Package: binsegRcpp 2023.10.24

binsegRcpp: Efficient Implementation of Binary Segmentation

Standard template library containers are used to implement an efficient binary segmentation algorithm, which is log-linear on average and quadratic in the worst case.

Authors:Toby Dylan Hocking

binsegRcpp_2023.10.24.tar.gz
binsegRcpp_2023.10.24.zip(r-4.5)binsegRcpp_2023.10.24.zip(r-4.4)binsegRcpp_2023.10.24.zip(r-4.3)
binsegRcpp_2023.10.24.tgz(r-4.4-x86_64)binsegRcpp_2023.10.24.tgz(r-4.4-arm64)binsegRcpp_2023.10.24.tgz(r-4.3-x86_64)binsegRcpp_2023.10.24.tgz(r-4.3-arm64)
binsegRcpp_2023.10.24.tar.gz(r-4.5-noble)binsegRcpp_2023.10.24.tar.gz(r-4.4-noble)
binsegRcpp_2023.10.24.tgz(r-4.4-emscripten)binsegRcpp_2023.10.24.tgz(r-4.3-emscripten)
binsegRcpp.pdf |binsegRcpp.html
binsegRcpp/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/tdhock/binsegrcpp/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

4.06 score 5 stars 11 scripts 1.1k downloads 20 exports 2 dependencies

Last updated 7 months agofrom:7e9bc765f5. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 24 2024
R-4.5-win-x86_64OKOct 24 2024
R-4.5-linux-x86_64OKOct 24 2024
R-4.4-win-x86_64OKOct 24 2024
R-4.4-mac-x86_64OKOct 24 2024
R-4.4-mac-aarch64OKOct 24 2024
R-4.3-win-x86_64OKOct 24 2024
R-4.3-mac-x86_64OKOct 24 2024
R-4.3-mac-aarch64OKOct 24 2024

Exports:binsegbinseg_normalbinseg_normal_cvcase.colorscase.sizescum_mediandepth_first_interfaceget_complexityget_complexity_best_heuristic_equal_breadth_fullget_complexity_best_heuristic_equal_depth_fullget_complexity_best_optimal_costget_complexity_best_optimal_treeget_complexity_empiricalget_complexity_extremeget_complexity_worstget_distribution_infoget_tree_empiricalrandom_set_vecsize_to_splitstree_layout

Dependencies:data.tableRcpp

Comparisons with other packages

Rendered fromcomparisons.Rmdusingknitr::knitron Oct 24 2024.

Last update: 2022-03-31
Started: 2022-03-31

Cross-validation

Rendered fromcross-validation.Rmdusingknitr::knitron Oct 24 2024.

Last update: 2022-05-12
Started: 2022-01-21

Readme and manuals

Help Manual

Help pageTopics
Binary segmentationbinseg binsegRcpp
binseg interfacebinseg_interface
Binary segmentation, normal change in meanbinseg_normal
Binary segmentation, normal change in mean, cross-validation for model selectionbinseg_normal_cv
case colorscase.colors
case sizescase.sizes
check sizescheck_sizes
coef binseg normal cvcoef.binseg_normal_cv
coef binsegRcppcoef.binsegRcpp
cum mediancum_median
cum median interfacecum_median_interface
depth first interfacedepth_first_interface
get complexityget_complexity
get complexity best heuristic equal breadth fullget_complexity_best_heuristic_equal_breadth_full
get complexity best heuristic equal depth fullget_complexity_best_heuristic_equal_depth_full
get complexity best optimal costget_complexity_best_optimal_cost
get complexity best optimal splitsget_complexity_best_optimal_splits
get complexity best optimal treeget_complexity_best_optimal_tree
get complexity empiricalget_complexity_empirical
get complexity extremeget_complexity_extreme
get complexity worstget_complexity_worst
get distribution infoget_distribution_info
get tree empiricalget_tree_empirical
plot binseg normal cvplot.binseg_normal_cv
plot binsegRcppplot.binsegRcpp
plot complexityplot.complexity
print binseg normal cvprint.binseg_normal_cv
print binsegRcppprint.binsegRcpp
qp xqp.x
random set vecrandom_set_vec
size to splitssize_to_splits
tree layouttree_layout