average_degree: Compute average degree for adjacency matrix

View source: R/misc.R

average_degreeR 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.


causalDisco documentation built on Jan. 20, 2026, 5:09 p.m.