get_node_rank: Determine the build order for a set of nodes

View source: R/get_node_rank.R

get_node_rankR Documentation

Determine the build order for a set of nodes

Description

Determine the build order for a set of nodes

Usage

get_node_rank(node_inputs, nodes = names(node_inputs))

Arguments

node_inputs

A list of character vectors with each of the inputs into the node.

nodes

Names of the nodes in the list.

Examples

node_inputs <- list(
  alpha = c("pi","f", "alpha"),
  beta = c("alpha","epsilon"),
  delta = c("d","beta"),
  epsilon = c("2")
)
simplan:::get_node_rank(node_inputs)

danwkenn/simplan documentation built on May 25, 2022, 8:30 p.m.