nedges {causalDisco}R 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).


[Package causalDisco version 0.9.1 Index]