View source: R/SourceCodePTNWNeu.R
degree.inv | R Documentation |
This function calculates the differences in degree for each node between two networks (adjacency matrices of the same dimension).
degree.inv(X, Y)
X, Y |
adjacency matrices of the same dimension |
This function calculates the differences in degree for each node between two networks (adjacency matrices of the same dimension). Differences in degree 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 degree between the two networks for each node
X<-create.adjacency.matrix(ExDataA,methodlist=list("Spearman")) Y<-create.adjacency.matrix(ExDataB,methodlist=list("Spearman")) degree.inv(X,Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.