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() for class dagRdag.

Usage

## S3 method for class 'dagRdag'
summary(object, ...)

Arguments

object

An object of class dagRdag.

...

Currently not used.

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).
This function passes the object to summary_dagRdag, which is preserved for backwards compatibility.

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.