Learn R Programming

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

ggm (version 2.5)

Graphical Markov Models with Mixed Graphs

Description

Tools for marginalization, conditioning and fitting by maximum likelihood.

Copy Link

Version

Install

install.packages('ggm')

Monthly Downloads

4,899

Version

2.5

License

GPL-2

Maintainer

Giovanni M Marchetti

Last Published

February 16th, 2020

Functions in ggm (2.5)

Max

Maximisation for graphs
bfsearch

Breadth first search
basiSet

Basis set of a DAG
SG

summary graph
RepMarUG

Representational Markov equivalence to undirected graphs.
In

Indicator matrix
UG

Defining an undirected graph (UG)
Simple Graph Operations

Simple graph operations
diagv

Matrix product with a diagonal matrix
blkdiag

Block diagonal matrix
binve

Inverts a marginal log-linear parametrization
RepMarBG

Representational Markov equivalence to bidirected graphs.
RepMarDAG

Representational Markov equivalence to directed acyclic graphs.
drawGraph

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

d-separation
makeMG

Mixed Graphs
cmpGraph

The complementary graph
conComp

Connectivity components
Utility Functions

Utility functions
fitDag

Fitting of Gaussian DAG models
ggm

The package ggm: summary information
derived

Data on blood pressure body mass and age
RG

Ribbonless graph
glucose

Glucose control
fitDagLatent

Fitting Gaussian DAG models with one latent variable
marg.param

Link function of marginal log-linear parameterization
edgematrix

Edge matrix of a graph
essentialGraph

Essential graph
shipley.test

Test of all independencies implied by a given DAG
isADMG

Acyclic directed mixed graphs
adjMatrix

Adjacency matrix of a graph
powerset

Power set
allEdges

All edges of a graph
rcorr

Random correlation matrix
isAG

Ancestral graph
fitConGraph

Fitting a Gaussian concentration graph model
blodiag

Block diagonal matrix
fitCovGraph

Fitting of Gaussian covariance graph models
correlations

Marginal and partial correlations
surdata

A simulated data set
anger

Anger data
checkIdent

Identifiability of a model with one latent variable
fitAncestralGraph

Fitting of Gaussian Ancestral Graph Models
findPath

Finding paths
isGident

G-identifiability of an UG
fundCycles

Fundamental cycles
cycleMatrix

Fundamental cycles
swp

Sweep operator
mat.mlogit

Multivariate logistic parametrization
marks

Mathematics marks
icf

Iterative conditional fitting
rnormDag

Random sample from a decomposable Gaussian model
null

Null space of a matrix
grMAT

Graph to adjacency matrix
parcor

Partial correlations
fitmlogit

Multivariate logistic models
pcor.test

Test for zero partial association
stress

Stress
rsphere

Random vectors on a sphere
plotGraph

Plot of a mixed graph
isAcyclic

Graph queries
topSort

Topological sort
triDec

Triangular decomposition of a covariance matrix
transClos

Transitive closure of a graph
unmakeMG

Loopless mixed graphs components
msep

The m-separation criterion
pcor

Partial correlation
MRG

Maximal ribbonless graph
AG

Ancestral graph
MSG

Maximal summary graph
DAG

Directed acyclic graphs (DAGs)
DG

Directed graphs
InducedGraphs

Graphs induced by marginalization or conditioning
MarkEqRcg

Markov equivalence for regression chain graphs.
MarkEqMag

Markov equivalence of maximal ancestral graphs
MAG

Maximal ancestral graph