Package: pg 0.2.4
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:
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
Last updated from:348b5d499e. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 121 | ||
| linux-devel-x86_64 | OK | 122 | ||
| source / vignettes | OK | 176 | ||
| linux-release-arm64 | OK | 108 | ||
| linux-release-x86_64 | OK | 120 | ||
| macos-release-arm64 | OK | 123 | ||
| macos-release-x86_64 | OK | 201 | ||
| macos-oldrel-arm64 | OK | 106 | ||
| macos-oldrel-x86_64 | OK | 269 | ||
| windows-devel | OK | 103 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 129 | ||
| wasm-release | OK | 119 |
Exports:pg_meanpg_varrpg_devroyerpg_gammarpg_hybridrpg_normalrpg_scalarrpg_sprpg_vector
Dependencies:RcppRcppArmadillo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Theoretical Polya Gamma Distribution's Mean and Variance | pg_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 |
