powered by
meanDistanceDeviation(g, dist = NULL)
library(RBGL) set.seed(123) g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE) meanDistanceDeviation(g)
Run the code above in your browser using DataLab