node_plant_node_ids: Recursively identifying downstream nodes

Description Usage Arguments

Description

Recursively identifying downstream nodes

Usage

1
2
3
4
5
6
7
8
node_plant_node_ids(
  g,
  v,
  direction = "downstream",
  max.levels = 2,
  level = 0,
  children_found = c()
)

Arguments

g

igraph graph object

v

the id of the central node to start from

direction

should be 'downstream', 'upstream' or 'both'

max.levels

how many steps away from source node to go


mabafaba/apatternlanguage documentation built on Jan. 1, 2021, 8:28 a.m.