pdag: Partially Directed Acyclic Graphs

Description Usage Details Value

View source: R/pdag.R

Description

Partially Directed Acyclic Graphs

Usage

1
2
3
pdag(nodes, edges, validate = TRUE)

is_valid_pdag(graph)

Details

is_valid_pdag checks to see if the input is a valid "causality.pdag". Specifically, it checks that the graph is nonlatent and acyclic.

Value

is_valid_pdag returns TRUE or FALSE depending on whether or not the input is a valid "causality.pdag".


tzimiskes/causality documentation built on Sept. 15, 2019, 8:41 p.m.