gRbase: A Package for Graphical Modelling in R

The gRbase package provides general features which are used by other graphical modelling packages, in particular by the packages gRain, gRim and gRc. gRbase contains several datasets relevant for use in connection with graphical models. Almost all datasets used in the book Graphical Models with R (2012) are contained in gRbase. gRbase implements several graph algorithms (based mainly on representing graphs as adjacency matrices - either in the form of a standard matrix or a sparse matrix). Some graph algorithms are: (i) maximum cardinality search (for marked and unmarked graphs). (ii) moralize. (iii) triangulate. (iv) junctionTree. gRbase facilitates array operations, gRbase implements functions for testing for conditional independence. gRbase illustrates how hierarchical log-linear models (hllm) may be implemented and describes concept of gmData (graphical meta data). These features, however, are not maintained anymore and remains in gRbase only because there exists a paper describing these facilities: A Common Platform for Graphical Models in R: The gRbase Package, Journal of Statistical Software, Vol 14, No 17, 2005. NOTICE Proper functionality of gRbase requires that the packages graph, Rgraphviz and RBGL are installed from bioconductor; for installation instructions please refer to the webpage given below.

Version: 1.7-2
Depends: R (≥ 3.0.2), methods
Imports: Matrix, RBGL, igraph, graph, Rcpp (≥ 0.11.1)
LinkingTo: Rcpp (≥ 0.11.1), RcppArmadillo, RcppEigen
Suggests: Rgraphviz, microbenchmark
Published: 2015-09-06
Author: Søren Højsgaard
Maintainer: Søren Højsgaard <sorenh at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: gRbase citation info
Materials: ChangeLog
In views: gR
CRAN checks: gRbase results


Reference manual: gRbase.pdf
Vignettes: gRbase-arrayops: Array operations in gRbase
gRbase-graphs: Graphs in the gRbase package
Package source: gRbase_1.7-2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: not available, r-oldrel: gRbase_1.7-0.1.tgz
OS X Mavericks binaries: r-release: gRbase_1.7-2.tgz
Old sources: gRbase archive

Reverse dependencies:

Reverse depends: gRain, gRc, gRim
Reverse imports: D2C, HydeNet, topologyGSA
Reverse linking to: gRain
Reverse suggests: bnclassify, MXM