Learn R Programming

RcppTN (version 0.2-2)

Rcpp-Based Truncated Normal Distribution RNG and Family

Description

R-level and C++-level functionality to generate random deviates from and calculate moments of a Truncated Normal distribution using the algorithm of Robert (1995) . In addition to RNG, functions for calculating moments, densities, and entropies are provided at both levels.

Copy Link

Version

Install

install.packages('RcppTN')

Monthly Downloads

509

Version

0.2-2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonathan Olmsted

Last Published

November 21st, 2017

Functions in RcppTN (0.2-2)

dtn

Truncated Normal Distribution Density
enttn

Truncated Normal Distribution Entropy
etn

Truncated Normal Distribution Expectation
rtn

Truncated Normal Distribution RNG
vtn

Truncated Normal Distribution Variance