triangulr: High-Performance Triangular Distribution Functions

A collection of high-performance functions for the triangular distribution that consists of the probability density function, cumulative distribution function, quantile function, random variate generator, moment generating function, characteristic function, and expected shortfall function. References: Samuel Kotz, Johan Ren Van Dorp (2004) <doi:10.1142/5720>, Melissa E. O'Neill (2014) <>, David Blackman and Sebastiano Vigna (2018) <arXiv:1805.01407>, and Acerbi, Carlo and Tasche, Dirk. (2002) <doi:10.1111/1468-0300.00091>.

Version: 1.1.0
Depends: R (≥ 3.3)
Imports: Rcpp (≥ 1.0.5), rlang (≥ 0.4.8), vctrs (≥ 0.3.5), dqrng (≥ 0.2.1)
LinkingTo: Rcpp, dqrng
Suggests: testthat (≥ 3.0.0)
Published: 2020-11-20
Author: Alvin Nursalim [aut, cre]
Maintainer: Alvin Nursalim <alvin.nursalim at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: triangulr results


Reference manual: triangulr.pdf
Package source: triangulr_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: triangulr_1.1.0.tgz, r-oldrel: triangulr_1.1.0.tgz
Old sources: triangulr archive


Please use the canonical form to link to this page.