gRbase.Rd
This package provides a basis for graphical modelling in R and in particular for other graphical modelling packages, most notably gRim, gRain and gRc.
gRbase provides the following:
Implementation of various graph algorithms, including maximum
cardinality search, maximal prime subgraph decomposition,
triangulation. See the vignette graphs
.
Implementation of various "high level" array operations, including
multiplication/division, marginalization, slicing, permutation. See
the vignette ArrayOps
.
Implementation of various "low level" array operations. See
the vignette ArrayOpsPrim
.
A collection of datasets
A general framework for setting up data and model structures and provide examples for fitting hierarchical log linear models for contingency tables and graphical Gaussian models for the multivariate normal distribution. (Notice: This last part is not maintained / developed further.)
Thanks to the other members of the gR initiative, in particular to David Edwards for providing functions for formula-manipulation.
Hojsgaard, S., Edwards, D., Lauritzen, S. (2012) Graphical models with R. Springer. ISBN: 978-1-4614-2298-3
Lauritzen, S. L. (2002). gRaphical Models in R. R News, 3(2)39.