Learn R Programming

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

dagitty (version 0.1-9)

Graphical Analysis of Structural Causal Models

Description

A port of the web-based software "DAGitty" for analyzing structural causal models (also known as directed acyclic graphs or DAGs). The 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.

Copy Link

Version

Install

install.packages('dagitty')

Monthly Downloads

469,658

Version

0.1-9

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Johannes Textor

Last Published

March 22nd, 2016

Functions in dagitty (0.1-9)

coordinates

Plot Coordinates of Variables in Graph
EquivalentModels

Generating Equivalent Models
canonicalize

Canonicalize an Ancestral Graph
impliedConditionalIndependencies

List Implied Conditional Independencies
ancestorGraph

Ancestor Graph
as.dagitty

Convert to DAGitty object
paths

Show Paths
getExample

Get Bundled Examples
vanishingTetrads

List Implied Vanishing Tetrads
moralize

Moral Graph
isAdjustmentSet

Adjustment Criterion
lavaanToGraph

Convert Lavaan Model to DAGitty Graph
instrumentalVariables

Find Instrumental Variables
dconnected

d-Separation
plotLocalTestResults

Plot Results of Local Tests
backDoorGraph

Back-Door Graph
orientPDAG

Orient Edges in PDAG.
AncestralRelations

Ancestral Relations
adjustmentSets

Covariate Adjustment Sets
VariableStatus

Variable Statuses
graphLayout

Generate Graph Layout
graphType

Get Graph Type
is.dagitty

Test for Graph Class
localTests

Test Graph against Data
plot.dagitty

Plot Graph
downloadGraph

Load Graph from dagitty.net
simulateSEM

Simulate Data from Structural Equation Model
dagitty

Parse DAGitty Graph
edges

Graph Edges
names.dagitty

Names of Variables in Graph
randomDAG

Generate DAG at Random