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> and Acerbi, Carlo and Tasche, Dirk. (2002) <doi:10.1111/1468-0300.00091>.

Version: 1.2.1
Depends: R (≥ 3.3)
Imports: rlang (≥ 0.4.11), vctrs (≥ 0.3.8)
LinkingTo: cpp11
Suggests: testthat (≥ 3.0.2)
Published: 2021-05-27
Author: Alvin Nursalim [aut, cre]
Maintainer: Alvin Nursalim <irkaalv at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README NEWS
CRAN checks: triangulr results


Reference manual: triangulr.pdf
Package source: triangulr_1.2.1.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): triangulr_1.2.1.tgz, r-release (x86_64): triangulr_1.2.1.tgz, r-oldrel: triangulr_1.2.1.tgz
Old sources: triangulr archive


Please use the canonical form to link to this page.