Description Usage Arguments Value
View source: R/get_previous_node_indices.R
Gets the integer indices of the previous nodes given a connection_matrix and a starting index.
1 | get_previous_node_indices(connection_matrix, node_index)
|
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. |
A list of indices of all previous level nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.