average_degree {causalDisco}R Documentation

Compute average degree for adjacency matrix

Description

Computes the average degree, i.e. the number of edges divided by the number of nodes.

Usage

average_degree(amat)

Arguments

amat

An adjacency matrix

Value

A numeric.


[Package causalDisco version 0.9.1 Index]