Minimum spaning tree with Kruskal' algorithm
问题 How i can calculate im R(3.0.0 - Linux x32) minimum spanning tree with Kruskal's algorithm? I create an weighted full graph with igraph (0.6.5) library as folws: set.seed(1234567890) g <- graph.full(n = 20) E(g)$weight <- round(runif(ecount(g)), 2) * 100 And i am able to calcutae the minimum spaning tree with Prim (igraph) mstPrim <- minimum.spanning.tree(g, algorithm = "prim") But unfortunaly doesn't in "igraph" Kruskal's algorithm implemented. I can represent my genereted graph as a data