gRain: Graphical Independence Networks

Probability propagation in graphical independence networks, also known as Bayesian networks or probabilistic expert systems. Documentation of the package is provided in vignettes included in the package and in the paper by Højsgaard (2012, <doi:10.18637/jss.v046.i10>). See 'citation("gRain")' for details.

Version: 1.4.1
Depends: R (≥ 4.2.0), methods, gRbase (≥ 2.0.0)
Imports: igraph, stats4, broom, magrittr, Rcpp (≥ 0.11.1)
LinkingTo: Rcpp (≥ 0.11.1), RcppArmadillo, RcppEigen, gRbase
Suggests: microbenchmark, knitr, testthat (≥ 2.1.0)
Published: 2023-11-21
DOI: 10.32614/CRAN.package.gRain
Author: Søren Højsgaard
Maintainer: Søren Højsgaard <sorenh at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: gRain citation info
Materials: README NEWS ChangeLog
In views: Bayesian, GraphicalModels
CRAN checks: gRain results


Reference manual: gRain.pdf
Vignettes: grain: Introduction


Package source: gRain_1.4.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gRain_1.4.1.tgz, r-oldrel (arm64): gRain_1.4.1.tgz, r-release (x86_64): gRain_1.4.1.tgz, r-oldrel (x86_64): gRain_1.4.1.tgz
Old sources: gRain archive

Reverse dependencies:

Reverse depends: gRaven
Reverse imports: bnmonitor, GmicR, gRim, RVS
Reverse suggests: bnclassify, bnlearn


Please use the canonical form to link to this page.