R/search-neighbors.R
search_neighbors.Rd
Retrieve the neighbors of a given node which are of a given type using the neighbors reference object.
search_neighbors(root, type, neighbor_list)
ID of the root node.
Desired type of the neighbors.
Neighbor reference object constructed by get_neighbor_list()
.
Vector of neighbors of a given type.
get_neighbor_list()
for neighbor reference object construction.