is_MArG: Check if a graph is maximal and arid

View source: R/arid.R

is_aridR Documentation

Check if a graph is maximal and arid

Description

Check if a graph is maximal and arid

Usage

is_arid(graph)

is_maximal(graph, check = TRUE, ancestral, failure = FALSE)

is_MArG(graph, directed = FALSE, failure = FALSE)

Arguments

graph

summary graph or ADMG of class mixedgraph

failure

logical: if graph is not maximal, should missing edge be returned?

directed

logical: if TRUE, undirected edges are not allowed

Details

Checks if the graph is both maximal and arid using the functions is_arid and is_maximal.

Functions

  • is_arid(): check if a graph is arid

  • is_maximal(): check if graph is maximal


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