dot-get_coef: Safely extract coefficient matrix from an object

.get_coefR Documentation

Safely extract coefficient matrix from an object

Description

Helper to call coef() on an object and return the result as a matrix, or NULL if coef() errors or does not return a matrix. Intended for objects produced by RTransferEntropy.

Usage

.get_coef(obj)

Arguments

obj

An object with a coef() method.

Value

A numeric matrix of coefficients, or NULL on failure.


bivarhr documentation built on July 7, 2026, 1:06 a.m.