get_next_node_indices: Gets the indices of the next nodes in a connection matrix...

Description Usage Arguments Value

View source: R/get_next_node_indices.R

Description

Gets the integer indices of the next nodes given a connection_matrix and a starting index.

Usage

1
get_next_node_indices(connection_matrix, node_index)

Arguments

connection_matrix

A matrix where the non zero elements what connections exist. The rows indicate the node where the edge is going to, and the columns indicates the node where the edge is coming from.

node_index

a number indicating of which node the type is being determined.

Value

A list of indices of all next level nodes


GeertPostma/pathmodelr documentation built on Oct. 5, 2021, 4:17 p.m.