| .get_pval | R Documentation |
Helper to extract a p-value from a coefficient table returned by
RTransferEntropy or similar packages. It searches for a column whose
name matches "^p[._ -]?value$" (case-insensitive) and returns
the first-row entry of that column.
.get_pval(obj)
obj |
An object for which |
A numeric scalar with the extracted p-value, or
NA_real_ if no suitable column is found or extraction fails.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.