.get_coef: 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)
Value
A numeric matrix of coefficients, or NULL on failure.