node_degree {EGAD} | R Documentation

## Calculate node degree

### Description

The function calculates the node degree of a network

### Usage

    node_degree(net)

### Arguments

`net` | numeric matrix

### Value

node_degree numeric array

### Examples

    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)

[Package EGAD version 1.20.0 Index]