Package: ggm 2.5.5

ggm: Graphical Markov Models with Mixed Graphs

Provides functions for defining mixed graphs containing three types of edges, directed, undirected and bi-directed, with possibly multiple edges. These graphs are useful because they capture fundamental independence structures in multivariate distributions and in the induced distributions after marginalization and conditioning. The package is especially concerned with Gaussian graphical models for (i) ML estimation for directed acyclic graphs, undirected and bi-directed graphs and ancestral graph models (ii) testing several conditional independencies (iii) checking global identification of DAG Gaussian models with one latent variable (iv) testing Markov equivalences and generating Markov equivalent graphs of specific types. Note: The Bioconductor package 'graph' is now a suggested dependency and is only required when working with 'graphNEL' objects.

Authors:Giovanni M. Marchetti [aut, cre], Mathias Drton [aut], Kayvan Sadeghi [aut]

ggm_2.5.5.tar.gz
ggm_2.5.5.zip(r-4.7-any)ggm_2.5.5.zip(r-4.6-any)ggm_2.5.5.zip(r-4.5-any)
ggm_2.5.5.tgz(r-4.6-any)ggm_2.5.5.tgz(r-4.5-any)
ggm_2.5.5.tar.gz(r-4.7-any)ggm_2.5.5.tar.gz(r-4.6-any)
ggm_2.5.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ggm/json (API)

# Install 'ggm' in R:
install.packages('ggm', repos = c('https://stathin.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stathin/ggm/issues

Datasets:

On CRAN:

Conda:

8.36 score 27 packages 386 scripts 8.2k downloads 19 mentions 79 exports 11 dependencies

Last updated from:f402a4c378. Checks:2 NOTE, 7 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develNOTE135
source / vignettesOK174
linux-releaseOK142
macos-releaseOK173
macos-oldrelOK146
windows-develNOTE68
windows-releaseOK102
windows-oldrelOK88
wasm-releaseOK109

Exports:adjMatrixAGallEdgesbasiSetbdbfsearchbinveblkdiagblodiagchcheckIdentcmpGraphconCompcorrelationscycleMatrixDAGDGdiagvdrawGraphdSepedgematrixessentialGraphfindPathfitAncestralGraphfitConGraphfitCovGraphfitDagfitDagLatentfitmlogitfundCyclesgrMAThypercubeicfIninducedChainGraphinducedConGraphinducedCovGraphinducedDAGinducedRegGraphisAcyclicisADMGisAGisGidentlikGauMAGmakeMGmarg.paramMarkEqMagMarkEqRcgmat.mlogitMaxMRGmsepMSGnullpaparcorpcorpcor_testpcor.testplotGraphpowersetrcorrRepMarBGRepMarDAGRepMarUGRGrnormDagrsphereSGshipley_testshipley.testswptopOrdertopSorttransClostriDecUGunmakeMG

Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrs

Readme and manuals

Help Manual

Help pageTopics
ggm: Graphical Markov Models with Mixed Graphsggm-package ggm ggm_package
Adjacency matrix of a graphadjMatrix
Ancestral graphAG
All edges of a graphallEdges
Anger dataanger
Shipley basis set of a DAGbasiSet
Breadth first searchbfsearch
Inverts a marginal log-linear parametrizationbinve
Block diagonal matrixblkdiag
Block diagonal matrixblodiag
Identifiability of a model with one latent variablecheckIdent
The complementary graphcmpGraph
Connectivity componentsconComp
Marginal and partial correlationscorrelations
Fundamental cyclescycleMatrix
Directed acyclic graphs (DAGs)DAG
Data on blood pressure body mass and agederived
Directed graphsDG
Matrix product with a diagonal matrixdiagv
Drawing a graph with a simple point and click interface.drawGraph
d-separationdSep
Conversion of an adjacency matrix of a DAG into an edge matrixedgematrix
Essential graphessentialGraph
Finding pathsfindPath
Fitting of Gaussian Ancestral Graph ModelsfitAncestralGraph
Fitting a Gaussian concentration graph modelfitConGraph
Fitting of Gaussian covariance graph modelsfitCovGraph
Fitting of Gaussian DAG modelsfitDag
Fitting Gaussian DAG models with one latent variablefitDagLatent
Multivariate logistic modelsfitmlogit
Fundamental cyclesfundCycles
Glucose controlglucose
Graph to adjacency matrixgrMAT
Create a Boolean matrix from all combinations of binary variableshypercube
Indicator matrixIn
Graphs induced by marginalization or conditioninginduced-graphs inducedChainGraph inducedConGraph inducedCovGraph inducedDAG inducedRegGraph
Graph queriesisAcyclic
Acyclic directed mixed graphsisADMG
Ancestral graphisAG
G-identifiability of an UGisGident
Deviance of a Gaussian graphical modellikGau
Maximal ancestral graphMAG
Mixed GraphsmakeMG
Link function of the marginal log-linear parameterizationmarg.param
Markov equivalence of maximal ancestral graphsMarkEqMag
Markov equivalence for regression chain graphsMarkEqRcg
Mathematics marksmarks
Multivariate logistic parameterizationmat.mlogit
Maximization for graphsMax
Maximal ribbonless graphMRG
The m-separation criterionmsep
Maximal summary graphMSG
Null space of a matrixnull
Partial correlationsparcor
Partial correlationpcor
Test for zero partial associationpcor.test pcor_test
Plot mixed graphsplotGraph
Power setpowerset
Random correlation matrixrcorr
Representational Markov equivalence to bidirected graphs.RepMarBG
Representational Markov equivalence to directed acyclic graphs.RepMarDAG
Representational Markov equivalence to undirected graphs.RepMarUG
Ribbonless graphRG
Random samples from a decomposable Gaussian modelrnormDag
Random vectors on a spherersphere
Summary graphSG
Test of all independencies implied by a given DAGshipley.test shipley_test
Simple graph operationsbd ch pa simple-graph-operations
Stress datastress
A simulated data setsurdata
Sweep operatorswp
Topological sorttopological-sort topOrder topSort
Transitive closure of a graphtransClos
Triangular decomposition of a covariance matrixtriDec
Defining an undirected graph (UG)UG
Loopless mixed graphs componentsunmakeMG