Learn R Programming

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

gRbase (version 1.7-2)

A Package for Graphical Modelling in R

Description

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.

Copy Link

Version

Install

install.packages('gRbase')

Monthly Downloads

1,638

Version

1.7-2

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

September 6th, 2015

Functions in gRbase (1.7-2)

ashtrees

Crown dieback in ash trees
glist2adjMAT

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

Generic function for model comparison
chestSim

Simulated data from the Chest Clinic example
BodyFat

Body Fat Data
mildew

Mildew fungus
querygraph

Query a graph
gRbase-utilities

Utility functions for gRbase
vpar

List of vertices and their parents for graph.
rip

Create RIP ordering of the cliques of an undirected graph; create junction tree.
mpd

Maximal prime subgraph decomposition
dumping

Gastric Dumping
ug

Create undirected and directed graphs
simulateArray

Simulate data from array
zzz-gmData

Old: Class "gmData" graphical meta data
mcs

Maximum cardinality search on undirected graph.
moralize

Moralize a directed acyclic graph
is.DAG

Check properties of graphs.
zzz-hllm

Old: Hierarchical log-linear models
random_dag

Random directed acyclic graph
minimalTriang

Minimal triangulation of an undirected graph
gRbase-internal

Internal gRbase functions
mathmark

Mathematics marks for students
breastcancer

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

Chemical composition of wine
dietox

Growth curves of pigs in a 3x3 factorial experiment
getCliques

Get cliques of an undirected graph
topoSort

Topological sort of vertices in directed acyclic graph
parray

Representation of and operations on multidimensional tables
triangulate

Triangulation of an undirected graph
reinis

Risk factors for coronary heart disease.
arraypack-internal

Internal arraypack functions
compile,propagate

Compile and propagate functions
cad

Coronary artery disease data
Setoperations

Set operations
arrayCombine

Combine arrays
gRbase

The package `gRbase': summary information
cov2pcor

Partial correlation (matrix)
tableOpertations

Operations on multidimensional tables (arrays).
zzz-gModel

Old: Class "gModel" - graphical models
lizard

Lizard behaviour
zzz-gRfit

Old: Class "gRfit" - fitted graphical models
zzz-validVarTypes

Old: Admissible variable types in gmData objects
graph-coercion

Coercion of graphs
graph-operations

Simple operations on undirected and directed acyclic graphs.
isGraphical

Properties of a generating class (for defining a graph)
Nutrimouse

The Nutrimouse Dataset
carcass

Lean meat contents of 344 pig carcasses
rats

Weightloss of rats
milkcomp

Milk composition data
edgeList

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

Generate All Combinations of n Elements Taken m at a Time
table-operations

Compute table margin or table slice
iplot

Function for plotting graphs using the 'igraph' package.