pgdraw: Generate Random Samples from the Polya-Gamma Distribution

Generates random samples from the Polya-Gamma distribution using an implementation of the algorithm described in J. Windle's PhD thesis (2013) <>. The underlying implementation is in C.

Version: 1.0
Imports: Rcpp (≥ 0.12.16)
LinkingTo: Rcpp
Published: 2018-07-13
Author: Daniel F. Schmidt [aut, cph, cre], Enes Makalic [aut, cph]
Maintainer: Daniel F. Schmidt < at>
License: GPL (≥ 3)
NeedsCompilation: yes
Citation: pgdraw citation info
CRAN checks: pgdraw results


Reference manual: pgdraw.pdf
Package source: pgdraw_1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: pgdraw_1.0.tgz, r-oldrel: pgdraw_1.0.tgz


Please use the canonical form to link to this page.