powered by
Computes the average shortest path length (ASPL), clustering coefficient(CC), modularity (Q), and small-worldness (S; defaults to "rand")
semnetmeas(A, iter)
An adjacency matrix of network A
Number of iterations for the small-worldness measure
Returns a values for ASPL, CC, Q, and S
# NOT RUN { lowO <- subset(animals, Group==1)[-1] A<-PMFG(lowO) globmeas<-semnetmeas(A) # }
Run the code above in your browser using DataLab