Bayes Nets: 'RHugin' Emulation with 'gRain'

Wrappers for functions in the 'gRain' package to emulate some 'RHugin' functionality, allowing the building of Bayesian networks consisting on discrete chance nodes incrementally, through adding nodes, edges and conditional probability tables, the setting of evidence, both 'hard' (boolean) or 'soft' (likelihoods), querying marginal probabilities and normalizing constants, and generating sets of high-probability configurations. Computations will typically not be so fast as they are with 'RHugin', but this package should assist users without access to 'Hugin' to use code written to use 'RHugin'.


gRaven

Wrappers for functions in the 'gRain' package to emulate some 'RHugin' functionality, allowing the building of Bayesian networks consisting of discrete chance nodes incrementally, through adding nodes, edges and conditional probability tables, the setting of evidence, whether 'hard' (boolean) or 'soft' (likelihoods), and querying marginal probabilities and normalizing constants. Computations will typically not be so fast as they are with 'RHugin', but this package should assist users without access to 'Hugin' to use code written to use 'RHugin'. I am grateful to Therese Graversen for her contributions, especially the function map.configurations, and to Søren Højsgaard for enhancements to his gRain package that improve the performance of this package.

To install, type remotes::install_github("petergreen5678/gRaven")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gRaven")

1.1.10 by Peter Green, 2 years ago


Browse source code at https://github.com/cran/gRaven


Authors: Peter Green [aut, cre] , Therese Graversen [ctb] , Soren Hojsgaard [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports gRbase, methods, rlang

Depends on gRain


Depended on by DNAmixturesLite, KinMixLite.


See at CRAN