Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twolodzko/extradistr

Additional univariate and multivariate distributions
https://github.com/twolodzko/extradistr

c-plus-plus c-plus-plus-11 distribution multivariate-distributions probability r random-generation rcpp statistics

Last synced: 4 days ago
JSON representation

Additional univariate and multivariate distributions

Awesome Lists containing this project

README

        

# extraDistr

Density, distribution function, quantile function and random
generation for a number of univariate and multivariate distributions.

This package follows naming convention that is consistent with base R,
where density (or probability mass) functions, distribution functions,
quantile functions and random generation functions names are followed by
`d`\*, `p`\*, `q`\*, and `r`\* prefixes.

Behaviour of the functions mimics the base R, where for
invalid parameters `NaN`'s are returned, while
for values beyond function support 0's are returned
(e.g. for non-integers in discrete distributions, or for
negative values in functions with non-negative support).

All the functions vectorized and coded in C++11 using [Rcpp](https://www.rcpp.org/).