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'.
Version: | 0.1.1 |
Depends: | R (≥ 3.0.0) |
Imports: | Rcpp |
LinkingTo: | Rcpp, RcppArmadillo |
Suggests: | testthat, knitr, rmarkdown |
Published: | 2018-10-28 |
Author: | JB Duck-Mayr |
Maintainer: | JB Duck-Mayr <j.duckmayr at gmail.com> |
BugReports: | https://github.com/duckmayr/RcppDist/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2.0)] |
URL: | https://github.com/duckmayr/RcppDist |
NeedsCompilation: | yes |
Materials: | README |
CRAN checks: | RcppDist results |
Reference manual: | RcppDist.pdf |
Vignettes: |
RcppDist Introduction |
Package source: | RcppDist_0.1.1.tar.gz |
Windows binaries: | r-devel: RcppDist_0.1.1.zip, r-release: RcppDist_0.1.1.zip, r-oldrel: RcppDist_0.1.1.zip |
OS X binaries: | r-release: RcppDist_0.1.1.tgz, r-oldrel: RcppDist_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=RcppDist to link to this page.