m_connected: Get m-connected vertices

View source: R/m_connected.R

m_connectedR Documentation

Get m-connected vertices

Description

Get m-connected vertices

Usage

m_connected(graph, X, Z)

Arguments

graph

an object of class mixedgraph

X

set of vertices to check for m-connection

Z

vertices to condition on

Details

Perform a breadth-first search to find m-connected vertices given a specified set.

Based on the C++ function 'dConnected' from the package dagitty.


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