summary_dagRdag {dagR}R Documentation

Summarize a DAG.

Description

Generic function summary code for class dagRdag, which is used by package dagR from version 1.1.1 on. At present, it actually is NOT coded as a generic function!

Usage

summary_dagRdag(dag)

Arguments

dag

An object of class dagRdag.

Details

Summarizes according to what functions have been applied to the DAG. It does not itself call dag.search and the like. Exception: is calls is.acyclic (with maxSecs=5).

Author(s)

Lutz P Breitling <lutz.breitling@gmail.com>

References

Breitling LP (2010). dagR: a suite of R functions for directed acyclic graphs. Epidemiology 21(4):586-587.
Greenland S, Pearl J, Robins JM (1999). Causal diagrams for epidemiologic reserach. Epidemiology 10(1):37-48.
Kn\"uppel S, Stang A (2010). DAG Program: identifying minimal sufficient adjustment sets. Epidemiology 21(1):159.

Examples

d3<-demo.dag3();
d3s<-dag.search(d3);
d3a<-dag.adjust(d3, 2);
d3as<-dag.search(d3a);
summary_dagRdag(d3);
summary_dagRdag(d3s);
summary_dagRdag(d3a);
summary_dagRdag(d3as);

[Package dagR version 1.1.3 Index]