rspbc | R Documentation |
Computes betweenness centrality based on randomized shortest paths of each node in a network (Please see and cite Kivimaki et al., 2016)
rspbc(A, beta = 0.01, comm = NULL)
A |
An adjacency matrix of network data |
beta |
Sets the beta parameter.
Defaults to |
comm |
Vector. Community vector containing a value for each node. Computes "bridge" RSPBC, where the number of times a node is used on a random path between to another community |
A vector of randomized shortest paths betweenness centrality values for each node in the network
Alexander Christensen <alexpaulchristensen@gmail.com>
Kivimaki, I., Lebichot, B., Saramaki, J., & Saerens, M. (2016). Two betweenness centrality measures based on Randomized Shortest Paths. Scientific Reports, 6, 19668.
# Pearson's correlation only for CRAN checks A <- TMFG(neoOpen, normal = FALSE)$A rspbc <- rspbc(A, beta=0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.