Package: glmbayes
Type: Package
Title: Bayesian Generalized Linear Models (IID Samples)
Version: 0.9.6
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) <doi:10.1198/016214506000000357>. 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)
RdMacros: Rdpack
LinkingTo: Rcpp, RcppArmadillo, RcppParallel
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
RoxygenNote: 7.3.3
VignetteBuilder: knitr
Config/testthat/edition: 3
LazyData: true
Language: en-US
NeedsCompilation: yes
Packaged: 2026-06-21 17:36:54 UTC; kjell
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 <kjell.a.nygren@gmail.com>
Repository: CRAN
Date/Publication: 2026-06-21 18:10:02 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-07-05 02:09:46 UTC; windows
Archs: x64
