dot-extract_weights: Extract Weight Matrix from Network Object

.extract_weightsR Documentation

Extract Weight Matrix from Network Object

Description

Internal helper to extract adjacency/weight matrix from various input types.

Usage

.extract_weights(x)

Arguments

x

Network object (matrix, CographNetwork, tna, igraph, or list with $weights).

Value

A numeric matrix.


cograph documentation built on April 1, 2026, 1:07 a.m.