gRbase: A package for graphical modelling in R

The gRbase package provides certain general constructs 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 facilities for 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.

Version: 1.7-0.1
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: 2014-03-23
Author: Søren Højsgaard with contributions from Claus Dethlefsen and Clive Bowsher
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-arrayops1: Primitive array operations in gRbase
gRbase-arrayops2: Advanced array operations in gRbase
gRbase-arrayops2b: Advanced array operations in gRbase – NEW Rcpp-based version
gRbase-graphs: Graphs in the gRbase package
Package source: gRbase_1.7-0.1.tar.gz
OS X binary: gRbase_1.7-0.1.tgz
Windows binary:
Old sources: gRbase archive

Reverse dependencies:

Reverse depends: gRain, gRc, gRim
Reverse imports: topologyGSA