Package: pg 0.2.4

James Balamuta

pg: Polya Gamma Distribution Sampler

Provides access to a series of highly performant random distribution samplers for the Polya Gamma Distribution as described by Polson, Scott, and Windle (2013) <arxiv:1205.0310> using either 'C++' headers for 'Rcpp' or 'RcppArmadillo' and 'R'. The 'C++' header approach was developed to enable computations in Balamuta (2021) <https://www.ideals.illinois.edu/items/121209>.

Authors:James Balamuta [aut, cre, cph]

pg_0.2.4.tar.gz
pg_0.2.4.zip(r-4.7)pg_0.2.4.zip(r-4.6)pg_0.2.4.zip(r-4.5)
pg_0.2.4.tgz(r-4.6-x86_64)pg_0.2.4.tgz(r-4.6-arm64)pg_0.2.4.tgz(r-4.5-x86_64)pg_0.2.4.tgz(r-4.5-arm64)
pg_0.2.4.tar.gz(r-4.7-arm64)pg_0.2.4.tar.gz(r-4.7-x86_64)pg_0.2.4.tar.gz(r-4.6-arm64)pg_0.2.4.tar.gz(r-4.6-x86_64)
pg_0.2.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
pg/json (API)
NEWS

# Install 'pg' in R:
install.packages('pg', repos = c('https://tmsalab.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tmsalab/pg/issues

Pkgdown/docs site:https://tmsalab.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

3.78 score 2 stars 2 packages 7 scripts 190 downloads 9 exports 2 dependencies

Last updated from:348b5d499e. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK121
linux-devel-x86_64OK122
source / vignettesOK176
linux-release-arm64OK108
linux-release-x86_64OK120
macos-release-arm64OK123
macos-release-x86_64OK201
macos-oldrel-arm64OK106
macos-oldrel-x86_64OK269
windows-develOK103
windows-releaseOK97
windows-oldrelOK129
wasm-releaseOK119

Exports:pg_meanpg_varrpg_devroyerpg_gammarpg_hybridrpg_normalrpg_scalarrpg_sprpg_vector

Dependencies:RcppRcppArmadillo

Readme and manuals

Help Manual

Help pageTopics
Theoretical Polya Gamma Distribution's Mean and Variancepg_mean pg_var
Sample from the Polya Gamma distribution PG(h, z)rpg_devroye rpg_gamma rpg_hybrid rpg_normal rpg_scalar rpg_sp rpg_vector