ASPL | R Documentation |
Computes the global average shortest path length of the network
ASPL(A, weighted = FALSE)
A |
An adjacency matrix of network data |
weighted |
Is the network weighted?
Defaults to |
Returns the ASPL of the network
Alexander Christensen <alexpaulchristensen@gmail.com>
Rubinov, M., & Sporns, O. (2010). Complex network measures of brain connectivity: Uses and interpretations. NeuroImage, 52, 1059-1069.
# Pearson's correlation only for CRAN checks
A <- TMFG(similarity(sim.fluency(100), method = "cor"))
# Unweighted
aspl <- ASPL(A)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.