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-x86_64)pg_0.2.4.zip(r-4.7-arm64)pg_0.2.4.zip(r-4.6-x86_64)pg_0.2.4.zip(r-4.6-arm64)pg_0.2.4.zip(r-4.5-x86_64)
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✨
DESCRIPTION |NEWS
card.svg |card.png
pg/json (API)

# 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 293 downloads 9 exports 2 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK131
linux-devel-x86_64OK134
source / vignettesOK174
linux-release-arm64OK129
linux-release-x86_64OK134
macos-release-arm64OK116
macos-release-x86_64OK290
macos-oldrel-arm64OK86
macos-oldrel-x86_64OK327
windows-devel-arm64OK340
windows-devel-x86_64OK138
windows-release-arm64OK351
windows-release-x86_64OK100
windows-oldrel-x86_64OK89
wasm-releaseOK108

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