
Last chance! 50% off unlimited learning
Sale ends in
Computes the mean distance across a subset of nodes in a network. This measure can be used to identify the effectiveness of a subset of nodes' coverage of the network space
net.coverage(A, nodes, weighted = FALSE)
An adjacency matrix
Subset of nodes to examine the coverage of the network
Is the network weighted? Defaults to FALSE. Set to TRUE for weighted measures
Returns a list containing:
The average distance from the subset of nodes to all other nodes in the network
The standard deviation of distance from the subset of nodes to all other nodes in the network
The range of distance from the subset of nodes to all other nodes in the network
Christensen, A. P., Cotter, K. N., Silvia, P. J., & Benedek, M. (2018) Scale development via network analysis: A comprehensive and concise measure of Openness to Experience PsyArXiv, 1-40. doi: 10.31234/osf.io/3raxt
# NOT RUN {
A <- TMFG(neoOpen)$A
nodes <- c(1,3,5,7,11,13,17,19,23,29,31,37,41,43,47)
result <- net.coverage(A, nodes)
# }
Run the code above in your browser using DataLab