Learn R Programming

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

ggm (version 2.2)

Functions and Datasets for Graphical Markov Models

Description

Functions for analyzing and fitting Graphical Markov models

Copy Link

Version

Install

install.packages('ggm')

Monthly Downloads

4,899

Version

2.2

License

GPL (>= 2)

Maintainer

Giovanni M Marchetti

Last Published

December 4th, 2014

Functions in ggm (2.2)

MRG

Maximal ribbonless graph
grMAT

Graph to adjacency matrix
blkdiag

Block diagonal matrix
derived

Data on blood pressure body mass and age
Max

Maximisation for graphs
RG

Ribbonless graph
transClos

Transitive closure of a graph
adjMatrix

Adjacency matrix of a graph
MAG

Maximal ancestral graph
fitDag

Fitting of Gaussian DAG models
allEdges

All edges of a graph
glucose

Glucose control
unmakeMG

Loopless mixed graphs components
findPath

Finding paths
cmpGraph

The complementary graph
RepMarUG

Representational Markov equivalence to undirected graphs.
shipley.test

Test of all independencies implied by a given DAG
diagv

Matrix product with a diagonal matrix
rnormDag

Random sample from a decomposable Gaussian model
UG

Defining an undirected graph (UG)
msep

The m-separation criterion
MarkEqRcg

Markov equivalence for regression chain graphs.
SG

summary graph
In

Indicator matrix
fundCycles

Fundamental cycles
rsphere

Random vectors on a sphere
drawGraph

Drawing a graph with a simple point and click interface.
powerset

Power set
icf

Iterative conditional fitting
binve

Inverts a marginal log-linear parametrization
parcor

Partial correlations
checkIdent

Identifiability of a model with one latent variable
bfsearch

Breadth first search
isAG

Ancestral graph
anger

Anger data
essentialGraph

Essential graph
isADMG

Acyclic directed mixed graphs
MSG

Maximal summary graph
Simple Graph Operations

Simple graph operations
blodiag

Block diagonal matrix
dSep

d-separation
mat.mlogit

Multivariate logistic parametrization
stress

Stress
isAcyclic

Graph queries
swp

Sweep operator
RepMarBG

Representational Markov equivalence to bidirected graphs.
RepMarDAG

Representational Markov equivalence to directed acyclic graphs.
plotGraph

Plot of a mixed graph
ggm

The package ggm: summary information
surdata

A simulated data set
rcorr

Random correlation matrix
AG

Ancestral graph
triDec

Triangular decomposition of a covariance matrix
isGident

G-identifiability of an UG
basiSet

Basis set of a DAG
fitCovGraph

Fitting of Gaussian covariance graph models
InducedGraphs

Graphs induced by marginalization or conditioning
marg.param

Link function of marginal log-linear parameterization
null

Null space of a matrix
marks

Mathematics marks
fitDagLatent

Fitting Gaussian DAG models with one latent variable
fitmlogit

Multivariate logistic models
pcor

Partial correlation
pcor.test

Test for zero partial association
edgematrix

Edge matrix of a graph
fitConGraph

Fitting a Gaussian concentration graph model
DAG

Directed acyclic graphs (DAGs)
conComp

Connectivity components
cycleMatrix

Fundamental cycles
correlations

Marginal and partial correlations
fitAncestralGraph

Fitting of Gaussian Ancestral Graph Models
topSort

Topological sort
DG

Directed graphs
makeMG

Mixed Graphs
Utility Functions

Utility functions
MarkEqMag

Markov equivalence of maximal ancestral graphs