Learn R Programming

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

ggm (version 0.8-1)

Graphical Gaussian Models

Description

Functions for fitting Gaussian Markov models.

Copy Link

Version

Install

install.packages('ggm')

Monthly Downloads

6,060

Version

0.8-1

License

GPL version 2 or newer

Maintainer

Giovanni Marchetti

Last Published

July 25th, 2025

Functions in ggm (0.8-1)

checkIdent

Identifiability of a model with one latent variable
allEdges

All edges of a graph
topSort

Topological sort
bfs

Breadth first search
findPath

Finding paths
conComp

Connectivity components
fitDag

Fitting of Gaussian DAG models
cycleMatrix

Fundamental cycles
UG

Defining an undirected graph (UG)
parcor

Partial correlations
marks

Mathematics marks
rsphere

Random vectors on a sphere
cliques

Cliques of an undirected graph
fitConGraph

Fitting of Gaussian concentration graph models
ggm

The package `ggm': summary information
Simple Graph Operations

Simple graph operations
adjMatrix

Adjacency matrix of a graph
basiSet

Basis set of a DAG
isAcyclic

Graph queries
unmakeAG

Ancestral Graph components
InducedGraphs

Graphs induced by marginalization or conditioning
swp

Sweep operator
transClos

Transitive closure of a graph
DAG

Directed acyclic graphs (DAGs)
glucose

Glucose control
fitCovGraph

Fitting of Gaussian covariance graph models
icf

Iterative conditional fitting
dSep

d-separation
drawGraph

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

Random correlation matrix
fitDagLatent

Fitting Gaussian DAG models with one latent variable
fitAncestralGraph

Fitting of Gaussian Ancestral Graph Models
correlations

Marginal and partial correlations
rnormDag

Random sample from a decomposable Gaussian model
edgeMatrix

Edge matrix of a graph
fundCycles

Fundamental cycles
In

Indicator matrix
cmpGraph

The complementary graph
triDec

Triangular decomposition of a covariance matrix
pcor.test

Test for zero partial association
pcor

Partial correlation
makeAG

Ancestral Graphs
isGident

G-identifiability of an UG
shipley.test

Test of all independencies implied by a given DAG