dot-get_stat: Extract TE statistic from RTransferEntropy result

.get_statR Documentation

Extract TE statistic from RTransferEntropy result

Description

Helper to extract a single transfer-entropy-like statistic from a coefficient table. It looks for columns named "Eff. TE" or "TE" (in that order) and falls back to the first column if neither is present.

Usage

.get_stat(obj)

Arguments

obj

An object produced by RTransferEntropy (or similar) for which coef(obj) returns a matrix.

Value

A numeric scalar with the extracted statistic (first row of the chosen column), or NA_real_ if extraction fails.


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