powered by
These functions compute a variety of network statistics on single Net objects.
Net
global_efficiency(Net)modularity(Net, community.variable)
modularity(Net, community.variable)
Input Net object
character name of the node variable that represents the partition.
Network statistic value
# NOT RUN { data(GroupA) GroupA1_Net = as_Net(GroupA[[1]], "1", list(community = c(rep(1, 10), rep(2,10)))) global_efficiency(GroupA1_Net) modularity(GroupA1_Net, "community") # }
Run the code above in your browser using DataLab