Learn R Programming

⚠️There's a newer version (2.0.3) of this package.Take me there.

gRbase (version 1.6-6)

A package for graphical modelling in R

Description

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.

Copy Link

Version

Install

install.packages('gRbase')

Monthly Downloads

1,753

Version

1.6-6

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

January 9th, 2013

Functions in gRbase (1.6-6)

BodyFat

Body Fat Data
glist2adjMAT

Creates adjacency matrix for a graph from a list of generators
gmData

Class "gmData" graphical meta data
hllm

Hierarchical log-linear models
iplot

Function for plotting graphs using the 'igraph' package.
gRbase-utilities

Utility functions for gRbase
gRbase

The package `gRbase': summary information
ug

Create undirected and directed graphs
gRfit

Class "gRfit" - fitted graphical models
rip

RIP ordering and junction tree.
milkcomp

Milk composition data
dietox

Growth curves of pigs in a 3x3 factorial experiment
mildew

Mildew fungus
lizard

Lizard behaviour
cov2pcor

Partial correlation (matrix)
dumping

Gastric Dumping
moralize

Moralize a directed acyclic graph
wine

Chemical composition of wine
random_dag

Random directed acyclic graph
chestSim

Simulated data from the Chest Clinic example
edgeList

Find edges in a graph and edges not in a graph.
Setoperations

Set operations
parray

Representation of and operations on multidimensional tables
mathmark

Mathematics marks for students
reinis

Risk factors for coronary heart disease.
arrayCombine

Combine arrays
cad

Coronary artery disease data
table-operations

Compute table margin or table slice
validVarTypes

Admissible variable types in gmData objects
mcs

Maximum cardinality search on undirected graph.
rats

Weightloss of rats
is.DAG

Check properties of graphs.
graph-operations

Simple operations on undirected and directed acyclic graphs.
topoSort

Topological sort of vertices in directed
compareModels

Generic function for model comparison
gModel

Class "gModel" - graphical models
compile,propagate

Compile and propagate functions
vpar

List of vertices and their parents for graph.
minimalTriang

Minimal triangulation of an undirected graph
combnPrim

Generate All Combinations of n Elements Taken m at a Time
querygraph

Query a graph
mpd

Maximal prime subgraph decomposition
triangulate

Triangulation of an undirected graph
ashtrees

Crown dieback in ash trees
carcass

Lean meat contents of 344 pig carcasses
Nutrimouse

The Nutrimouse Dataset
gRbase-internal

Internal gRbase functions
breastcancer

Gene expression signatures for p53 mutation status in 250 breast cancer samples