node_degree {EGAD} | R Documentation |
The function calculates the node degree of a network
node_degree(net)
net |
numeric matrix |
node_degree numeric array
net <- cor( matrix(rnorm(1000), ncol=10)) n <- 10 net <- matrix(rank(net, na.last = 'keep', ties.method = 'average'), nrow = n, ncol = n) net <- net/max(net, na.rm=TRUE) nd <- node_degree(net)