A Package for Graphical Modelling in R

The 'gRbase' package provides graphical modelling features used by e.g. the packages 'gRain', 'gRim' and 'gRc'. 'gRbase' implements graph algorithms including (i) maximum cardinality search (for marked and unmarked graphs). (ii) moralization, (iii) triangulation, (iv) creation of junction tree. 'gRbase' facilitates array operations, 'gRbase' implements functions for testing for conditional independence. 'gRbase' illustrates how hierarchical log-linear models may be implemented and describes concept of graphical meta data. The facilities of the package are documented in the book by Højsgaard, Edwards and Lauritzen (2012, ) and in the paper by Dethlefsen and Højsgaard, (2005, ). Please see 'citation("gRbase")' for citation details. NOTICE 'gRbase' requires that the packages graph, 'Rgraphviz' and 'RBGL' are installed from 'bioconductor'; for installation instructions please refer to the web page given below.



Reference manual

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


1.8-6.7 by Søren Højsgaard, 2 years ago


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

Authors: Søren Højsgaard <[email protected]>

Documentation:   PDF Manual  

Task views: gRaphical Models in R, Graphical Models

GPL (>= 2) license

Imports graph, Rgraphviz, RBGL, stats4, igraph, magrittr, Matrix, Rcpp

Depends on methods

Suggests testthat, microbenchmark, knitr

Linking to Rcpp, RcppEigen, RcppArmadillo

Imported by GGRidge, SourceSet, bnmonitor, bnspatial, gmat, gremes, rags2ridges, simPATHy, topologyGSA.

Depended on by gRain, gRc, gRim.

Suggested by bnclassify.

See at CRAN