nedges: Number of edges in adjacency matrix

View source: R/misc.R

nedgesR Documentation

Number of edges in adjacency matrix

Description

Counts the number of edges in an adjacency matrix.

Usage

nedges(amat)

Arguments

amat

An adjacency matrix

Value

A numeric (non-negative integer).


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