dagitty v0.2-2


Monthly downloads



Graphical Analysis of Structural Causal Models

A port of the web-based software 'DAGitty', available at <http://dagitty.net>, for analyzing structural causal models (also known as directed acyclic graphs or DAGs). This package computes covariate adjustment sets for estimating causal effects, enumerates instrumental variables, derives testable implications (d-separation and vanishing tetrads), generates equivalent models, and includes a simple facility for data simulation.

Functions in dagitty

Name Description
downloadGraph Load Graph from dagitty.net
AncestralRelations Ancestral Relations
ancestorGraph Ancestor Graph
backDoorGraph Back-Door Graph
as.dagitty Convert to DAGitty object
dconnected d-Separation
adjustmentSets Covariate Adjustment Sets
coordinates Plot Coordinates of Variables in Graph
canonicalize Canonicalize an Ancestral Graph
dagitty Parse DAGitty Graph
EquivalentModels Generating Equivalent Models
graphType Get Graph Type
graphLayout Generate Graph Layout
exogenousVariables Retrieve Exogenous Variables
instrumentalVariables Find Instrumental Variables
impliedConditionalIndependencies List Implied Conditional Independencies
isAdjustmentSet Adjustment Criterion
edges Graph Edges
getExample Get Bundled Examples
simulateSEM Simulate Data from Structural Equation Model
paths Show Paths
plotLocalTestResults Plot Results of Local Tests
localTests Test Graph against Data
lavaanToGraph Convert Lavaan Model to DAGitty Graph
plot.dagitty Plot Graph
orientPDAG Orient Edges in PDAG.
randomDAG Generate DAG at Random
moralize Moral Graph
is.dagitty Test for Graph Class
VariableStatus Variable Statuses
vanishingTetrads List Implied Vanishing Tetrads
names.dagitty Names of Variables in Graph
No Results!

Vignettes of dagitty

No Results!

Last month downloads


Type Package
Date 2016-08-26
VignetteBuilder knitr
Encoding UTF-8
LazyData true
License GPL-2
URL http://www.dagitty.net, https://github.com/jtextor/dagitty
BugReports https://github.com/jtextor/dagitty/issues
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-08-26 09:41:27 UTC; johannes
Repository CRAN
Date/Publication 2016-08-26 18:58:49

Include our badge in your README