is_ancestral: Check if a directed mixed graph is ancestral

View source: R/arid.R

is_ancestralR Documentation

Check if a directed mixed graph is ancestral

Description

Check if a directed mixed graph is ancestral

Usage

is_ancestral(graph, top_ord, .top_ord = FALSE, directed = FALSE, .anc = FALSE)

Arguments

graph

object of class mixedgraph

top_ord

optionally, a topological order

.top_ord

logical: should topological order be returned if computed?

Details

graph should only contain directed and bidirected edges.


rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.