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 May 31, 2026, 5:06 p.m.