Skip to content

RcppDist

'Rcpp' Integration of Additional Probability Distributions

v0.1.1.1 · Jun 12, 2025 · GPL (>= 2.0)

Description

The 'Rcpp' package provides a C++ library to make it easier to use C++ with R. R and 'Rcpp' provide functions for a variety of statistical distributions. Several R packages make functions available to R for additional statistical distributions. However, to access these functions from C++ code, a costly call to the R functions must be made. 'RcppDist' provides a header-only C++ library with functions for additional statistical distributions that can be called from C++ when writing code using 'Rcpp' or 'RcppArmadillo'. Functions are available that return a 'NumericVector' as well as doubles, and for multivariate or matrix distributions, 'Armadillo' vectors and matrices. 'RcppDist' provides functions for the following distributions: the four parameter beta distribution; the location- scale t distribution; the truncated normal distribution; the truncated t distribution; a truncated location-scale t distribution; the triangle distribution; the multivariate normal distribution*; the multivariate t distribution*; the Wishart distribution*; and the inverse Wishart distribution*. Distributions marked with an asterisk rely on 'RcppArmadillo'.

Downloads

2.3K

Last 30 days

2773rd

8.1K

Last 90 days

39.6K

Last year

Trend: -13.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (24)

depends

imports

Dependency Network

Dependencies Reverse dependencies Rcpp IRTM hlt ieTest qbld BGGM BNPmix BayesPPDSurv CDatanet MR.RGM PSPI ProfileGLMM RSTr Rdimtools SBMTrees bama +9 more reverse deps RcppDist

Version History

new 0.1.1.1 Mar 10, 2026
updated 0.1.1.1 ← 0.1.1 diff Jun 11, 2025
new 0.1.1 Oct 27, 2018