gRbase: A package for graphical modelling in R
Version 1.6-7

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.

Package details

AuthorSren Hjsgaard <> with contributions from Claus Dethlefsen <> and Clive Bowsher <>
Date of publication2013-01-30 11:39:10
MaintainerSren Hjsgaard <>
LicenseGPL (>= 2)
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("gRbase", repos="")

Try the gRbase package in your browser

Any scripts or data that you put into this service are public.

gRbase documentation built on May 31, 2017, 2:20 a.m.