Package: glmbayes Type: Package Title: Bayesian Generalized Linear Models (IID Samples) Version: 0.9.6.9000 Date: 2026-06-21 Authors@R: c( person("Kjell", "Nygren", role = c("aut", "cre"), email = "kjell.a.nygren@gmail.com"), person("The R Core Team", role = c("ctb", "cph"), comment = "R Mathlib sources, R stats modeling code, and derived/adapted routines"), person("The R Foundation", role = "cph", comment = "Portions of R Mathlib and R source code"), person("Ross", "Ihaka", role = c("ctb", "cph"), comment = "R Mathlib and original R modeling infrastructure"), person("Robert", "Gentleman", role = c("ctb", "cph"), comment = "Portions of R Mathlib"), person("Simon", "Davies", role = "ctb", comment = "Original R glm implementation"), person("Morten", "Welinder", role = c("ctb", "cph"), comment = "Portions of R Mathlib"), person("Martin", "Maechler", role = "ctb", comment = "Portions of R Mathlib") ) Description: Provides Bayesian linear and generalized linear model fitting with independent and identically distributed (iid) posterior samples. The main functions mirror R's lm() and glm() interfaces while adding prior family specifications for Gaussian, Poisson, binomial, and Gamma models with log-concave likelihoods. Sampling for supported non-conjugate models uses accept-reject methods based on likelihood subgradients as in Nygren and Nygren (2006) . The package also includes tools for prior setup, posterior summaries, prediction, diagnostics, simulation, vignettes, and optional 'OpenCL' acceleration for larger models. License: GPL-2 URL: https://CRAN.R-project.org/package=glmbayes, https://github.com/knygren/glmbayes, https://knygren.r-universe.dev/glmbayes BugReports: https://github.com/knygren/glmbayes/issues Imports: stats, coda, Rcpp (>= 1.1.1), RcppParallel, Rdpack (>= 0.11-0), opencltools (>= 0.8.1), nmathopencl RdMacros: Rdpack LinkingTo: Rcpp, RcppArmadillo, RcppParallel, opencltools Depends: MASS, R (>= 3.5.0) Suggests: knitr, rmarkdown, ggplot2, bayesrules, bayestestR, LearnBayes, testthat (>= 3.0.0), spelling SystemRequirements: Optional OpenCL support. If available, GPU acceleration will be used; otherwise, computation runs on CPU. Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 VignetteBuilder: knitr Config/testthat/edition: 3 LazyData: true Language: en-US Config/pak/sysreqs: make ocl-icd-opencl-dev Repository: https://knygren.r-universe.dev Date/Publication: 2026-06-22 06:20:22 UTC RemoteUrl: https://github.com/knygren/glmbayes RemoteRef: HEAD RemoteSha: 8c0b459c0ea6f5f5e74b9cfd9fc7d169f426bac5 NeedsCompilation: yes Packaged: 2026-06-24 09:38:04 UTC; root Author: Kjell Nygren [aut, cre], The R Core Team [ctb, cph] (R Mathlib sources, R stats modeling code, and derived/adapted routines), The R Foundation [cph] (Portions of R Mathlib and R source code), Ross Ihaka [ctb, cph] (R Mathlib and original R modeling infrastructure), Robert Gentleman [ctb, cph] (Portions of R Mathlib), Simon Davies [ctb] (Original R glm implementation), Morten Welinder [ctb, cph] (Portions of R Mathlib), Martin Maechler [ctb] (Portions of R Mathlib) Maintainer: Kjell Nygren