View source: R/SourceCodePTNWNeu.R
closeness.inv | R Documentation |
This function calculates the differences in closeness for each node between two networks (adjacency matrices of the same dimension).
closeness.inv(X, Y)
X, Y |
adjacency matrices of the same dimension |
This function calculates the differences in closeness for each node between two networks (adjacency matrices of the same dimension). Differences in closeness are one of the node-specific network difference characteristics to compare two networks.
a vector of length N (number of nodes), containing the differences in closeness between the two networks for each node
X<-create.adjacency.matrix(ExDataA,methodlist=list("Spearman")) Y<-create.adjacency.matrix(ExDataB,methodlist=list("Spearman")) closeness.inv(X,Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.