barren: Find barren, sterile, orphaned vertices

barrenR Documentation

Find barren, sterile, orphaned vertices

Description

Find barren, sterile, orphaned vertices

Usage

barren(graph, v = graph$v)

orphaned(graph, v = graph$v)

sterile(graph, v = graph$v)

Arguments

graph

an object of class mixedgraph

v

set of vertices of graph

Details

Barren vertices (within v) are those that have no proper descendants also within v. Sterile (orphaned) vertices in v have no children (parents) also within v.

Functions

  • orphaned(): find vertices with no parents

  • sterile(): find vertices with no children in the same set


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