search for: graph_from_literal

Displaying 1 result from an estimated 1 matches for "graph_from_literal".

2017 Sep 20
0
igraph problem
Run this code tree<-graph_from_literal(1-+2:3,3-+5,1-+4); graph.bfs(tree,root=1, neimode="out",father=TRUE,order=TRUE,unreachable = FALSE) I do not understand why the father values will give NA 1 1 3 1 rather than NA 1 1 1 3 The reason I am doing this is to obtain the values(by vertex names) or some index of each individual...