.as_num1: Coerce to numeric and return first element
Description
Helper to safely coerce an object to numeric and return the first
element, or NA_real_ if empty. Used internally when parsing
RTransferEntropy-style output tables.
Usage
.as_num1(z)
Value
A numeric scalar (first element of as.numeric(z)) or
NA_real_ if conversion fails or the result is empty.