C++ Implementations of Phylogenetic Cladogenesis Calculations
Overview
Various cladogenesis-related calculations that are slow in pure R are implemented in C++ with Rcpp. These include the calculation of the probability of various scenarios for the inheritance of geographic range at the divergence events on a phylogenetic tree, and other calculations necessary for models which are not continuous-time markov chains (CTMC), but where change instead occurs instantaneously at speciation events. Typically these models must assess the probability of every possible combination of (ancestor state, left descendent state, right descendent state). This means that there are up to (# of states)^3 combinations to investigate, and in biogeographical models, there can easily be hundreds of states, so calculation time becomes an issue. C++ implementation plus clever tricks (many combinations can be eliminated a priori) can greatly speed the computation time over naive R implementations. CITATION INFO: This package is the result of my Ph.D. research, please cite the package if you use it! Type: citation(package="cladoRcpp") to get the citation information.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 100%17 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Dependencies
Installing cladoRcpp adds 2 packages (2 with compiled code, 2.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.15.1Latest
- 0.152018-10-09 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 16 exports
Rcpp_combn_zerostart, areas_list_to_states_list_old, numstates_from_numareas, rcpp_areas_list_to_states_list, rcpp_calc_anclikes_sp, rcpp_calc_anclikes_sp_COOprobs, rcpp_calc_anclikes_sp_COOweights_faster, rcpp_calc_anclikes_sp_prebyte, rcpp_calc_anclikes_sp_rowsums, rcpp_calc_anclikes_sp_using_COOprobs, rcpp_calc_rowsums_for_COOweights_columnar, rcpp_calc_splitlikes_using_COOweights_columnar, rcpp_convolve, rcpp_mult2probvect, rcpp_states_list_to_DEmat, strsplit3 - RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 0.14.42014-05-18 · diff ↗
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2013-04-04
- Total releases
- 7 / 13 yrs
- License
- GPL (>= 2) OSI
- Download size
- 62 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cladoRcpp")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.