Lists the edges whose estimates differ by more than threshold
between two groups, in the shared edge-table format.
Arguments
- mat1, mat2
Symmetric p x p matrices of edge estimates for groups 1 and 2 (e.g. partial correlations).
- threshold
Non-negative number; edges with \(|mat1 - mat2| > threshold\) are kept. Default 0.05. Use
-Infto keep every edge.- varnames
Optional variable names; defaults to the row names of
mat1, thenV1, ..., Vp.
Value
A data frame with columns i, j, node1,
node2 (as in edge_index()), est_g1, est_g2 and
diff (est_g1 - est_g2), in upper.tri() order. Edges
with a missing difference are dropped. Sort by -abs(diff) to list
the largest changes first.