dagitty: Graphical Analysis of Structural Causal Models
Version 0.2-2

A port of the web-based software 'DAGitty', available at , 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.

Browse man pages Browse package API and functions Browse package files

AuthorJohannes Textor, Benito van der Zander
Date of publication2016-08-26 18:58:49
MaintainerJohannes Textor <johannes.textor@gmx.de>
LicenseGPL-2
Version0.2-2
URL http://www.dagitty.net https://github.com/jtextor/dagitty
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("dagitty")

Man pages

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

Functions

AncestralRelations Man page
EquivalentModels Man page
VariableStatus Man page
adjacentNodes Man page Source code
adjustedNodes Man page Source code
adjustedNodes<- Man page
adjustmentSets Man page Source code
ancestorGraph Man page Source code
ancestors Man page Source code
arc Source code
as.character.dagitty.ci Source code
as.dagitty Man page Source code
as.dagitty.character Source code
as.dagitty.default Source code
as.list.dagitty.cis Source code
as.list.dagitty.ivs Source code
as.list.dagitty.sets Source code
autoControlPoint Source code
backDoorGraph Man page Source code
canonicalize Man page Source code
capitalizeFirst Source code
children Man page Source code
ci.test.covmat Source code
ci.test.lm.perm Source code
ci.test.loess.perm Source code
coordinates Man page Source code
coordinates<- Man page
crossprod Source code
dagitty Man page Source code
dconnected Man page Source code
deleteJSVar Source code
descendants Man page Source code
downloadGraph Man page Source code
dseparated Man page Source code
edgeAttributes Source code
edges Man page Source code
equivalenceClass Man page Source code
equivalentDAGs Man page Source code
exogenousVariables Man page Source code
exposures Man page Source code
exposures<- Man page
getExample Man page Source code
getJSContext Source code
getJSVar Source code
graphLayout Man page Source code
graphTransformer Source code
graphType Man page Source code
impliedConditionalIndependencies Man page Source code
instrumentalVariables Man page Source code
is.dagitty Man page Source code
isAdjustmentSet Man page Source code
jsassign Source code
jsassigngraph Source code
jseval Source code
jsget Source code
jsgetgraph Source code
jsglobals Source code
jsp Source code
kins Source code
latents Man page Source code
latents<- Man page
lavaanToGraph Man page Source code
lineSegBoxIntersect Source code
lineSegIntersect Source code
localTests Man page Source code
markovBlanket Man page Source code
moralize Man page Source code
names.dagitty Man page Source code
neighbours Man page Source code
nodesWithProperty Source code
orientPDAG Man page Source code
outcomes Man page Source code
outcomes<- Man page
parents Man page Source code
paths Man page Source code
perm.cor.test Source code
plot.dagitty Man page Source code
plotLocalTestResults Man page Source code
print.dagitty.ci Source code
print.dagitty.cis Source code
print.dagitty.ivs Source code
print.dagitty.sets Source code
randomDAG Man page Source code
ri.test Source code
setVariableStatus Man page Source code
simulateSEM Man page Source code
spouses Man page Source code
supportsTypes Source code
tetrad.sem Source code
tetradsFromCov Source code
tetradsFromData Source code
toString.dagitty Source code
vanishingTetrads Man page Source code

Files

inst
inst/doc
inst/doc/dagitty4semusers.Rmd
inst/doc/dagitty4semusers.R
inst/doc/dagitty4semusers.html
inst/js
inst/js/RUtil.js
inst/js/dagitty-alg.js
inst/js/example-dags.js
tests
tests/testthat.R
tests/testthat
tests/testthat/testBasics.R
tests/testthat/testChainGraphs.R
tests/testthat/testAdjustments.R
NAMESPACE
NEWS
R
R/internal.r
R/dagitty.r
vignettes
vignettes/dagitty4semusers.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/canonicalize.Rd
man/adjustmentSets.Rd
man/paths.Rd
man/backDoorGraph.Rd
man/dagitty.Rd
man/orientPDAG.Rd
man/edges.Rd
man/exogenousVariables.Rd
man/graphType.Rd
man/simulateSEM.Rd
man/impliedConditionalIndependencies.Rd
man/getExample.Rd
man/instrumentalVariables.Rd
man/isAdjustmentSet.Rd
man/localTests.Rd
man/dconnected.Rd
man/plot.dagitty.Rd
man/AncestralRelations.Rd
man/downloadGraph.Rd
man/plotLocalTestResults.Rd
man/EquivalentModels.Rd
man/lavaanToGraph.Rd
man/is.dagitty.Rd
man/as.dagitty.Rd
man/coordinates.Rd
man/randomDAG.Rd
man/moralize.Rd
man/VariableStatus.Rd
man/vanishingTetrads.Rd
man/names.dagitty.Rd
man/ancestorGraph.Rd
man/graphLayout.Rd
dagitty documentation built on May 19, 2017, 10:30 p.m.