Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary_dagRdag

Summarize a DAG.


Description

Generic function summary() working code for class dagRdag, which is used by package dagR from version 1.1.1 on. From version 1.2.0, summary.dagRdag() is available as a generic function, but summary_dagRdag is preserved for backwards compatibility.

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 <l.breitling@posteo.de>

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(d3);
summary(d3s);
summary(d3a);
summary(d3as);

dagR

R Functions for Directed Acyclic Graphs

v1.2.0
GPL-2
Authors
Lutz P Breitling
Initial release
2021-04-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.