test_graph: Test type of graph

test_graphR Documentation

Test type of graph

Description

Test type of graph

Usage

is_UG(graph)

is_BG(graph)

is_DAG(graph)

is_ADMG(graph)

is_SG(graph)

Arguments

graph

mixedgraph object

is_UG, is_DAG, is_ADMG, is_SG respectively test whether a graph is an undirected graph, directed acyclic graph (DAG), acyclic directed mixed graph (ADMG) or summary graph.

Functions

  • is_UG(): test if an undirected graph

  • is_BG(): test if a bidirected graph

  • is_DAG(): test if a directed acyclic graph (DAG)

  • is_ADMG(): test if an acyclic directed mixed graph (ADMG)

  • is_SG(): test if a summary graph


rje42/MixedGraphs documentation built on March 20, 2024, 8:09 a.m.