Learn R Programming

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

ggm (version 2.3)

Functions for graphical Markov models

Description

Functions and datasets for maximum likelihood fitting of some classes of graphical Markov models.

Copy Link

Version

Install

install.packages('ggm')

Monthly Downloads

4,899

Version

2.3

License

GPL (>= 2)

Maintainer

Giovanni M Marchetti

Last Published

January 21st, 2015

Functions in ggm (2.3)

findPath

Finding paths
MarkEqRcg

Markov equivalence for regression chain graphs.
basiSet

Basis set of a DAG
DG

Directed graphs
null

Null space of a matrix
adjMatrix

Adjacency matrix of a graph
shipley.test

Test of all independencies implied by a given DAG
isAcyclic

Graph queries
isADMG

Acyclic directed mixed graphs
conComp

Connectivity components
bfsearch

Breadth first search
diagv

Matrix product with a diagonal matrix
blodiag

Block diagonal matrix
marks

Mathematics marks
cycleMatrix

Fundamental cycles
derived

Data on blood pressure body mass and age
cmpGraph

The complementary graph
essentialGraph

Essential graph
pcor.test

Test for zero partial association
fitDagLatent

Fitting Gaussian DAG models with one latent variable
fitDag

Fitting of Gaussian DAG models
triDec

Triangular decomposition of a covariance matrix
UG

Defining an undirected graph (UG)
Max

Maximisation for graphs
binve

Inverts a marginal log-linear parametrization
edgematrix

Edge matrix of a graph
Simple Graph Operations

Simple graph operations
glucose

Glucose control
rcorr

Random correlation matrix
parcor

Partial correlations
surdata

A simulated data set
allEdges

All edges of a graph
Utility Functions

Utility functions
makeMG

Mixed Graphs
RepMarUG

Representational Markov equivalence to undirected graphs.
MSG

Maximal summary graph
plotGraph

Plot of a mixed graph
msep

The m-separation criterion
checkIdent

Identifiability of a model with one latent variable
RepMarBG

Representational Markov equivalence to bidirected graphs.
MRG

Maximal ribbonless graph
In

Indicator matrix
SG

summary graph
topSort

Topological sort
powerset

Power set
rsphere

Random vectors on a sphere
MAG

Maximal ancestral graph
dSep

d-separation
MarkEqMag

Markov equivalence of maximal ancestral graphs
DAG

Directed acyclic graphs (DAGs)
isAG

Ancestral graph
icf

Iterative conditional fitting
rnormDag

Random sample from a decomposable Gaussian model
InducedGraphs

Graphs induced by marginalization or conditioning
fitConGraph

Fitting a Gaussian concentration graph model
pcor

Partial correlation
blkdiag

Block diagonal matrix
swp

Sweep operator
drawGraph

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

Ribbonless graph
fitAncestralGraph

Fitting of Gaussian Ancestral Graph Models
marg.param

Link function of marginal log-linear parameterization
fundCycles

Fundamental cycles
anger

Anger data
grMAT

Graph to adjacency matrix
transClos

Transitive closure of a graph
isGident

G-identifiability of an UG
RepMarDAG

Representational Markov equivalence to directed acyclic graphs.
unmakeMG

Loopless mixed graphs components
fitCovGraph

Fitting of Gaussian covariance graph models
AG

Ancestral graph
stress

Stress
fitmlogit

Multivariate logistic models
ggm

The package ggm: summary information
correlations

Marginal and partial correlations
mat.mlogit

Multivariate logistic parametrization