Hey all,
I'm having some trouble getting a root direct minimum spanning tree in igraph. Currently I've got
library(igraph)
graph <- sample_pa(800)
ego_nodes <- ego(graph, nodes = 800, mode = "out")
# constructs a graph with nodes from root
# directed min spanning tree but too many edges
induced_subgraph(graph, ego_nodes[[1]])
Any advice?
Alex