propcal {SEset} | R Documentation |
Edge frequency in the SE-set
Description
A function used to analyse the SEset results. Calculates the proportion of path models in a given SEset in which a particular edge is present
Usage
propcal(SEmatrix, names = NULL, rm_duplicate = TRUE, directed = TRUE)
Arguments
SEmatrix |
An |
names |
optional character vector containing dimension names |
rm_duplicate |
Should duplicate weights matrices be removed from the SEset. Defaults to TRUE. |
directed |
If |
Value
a p \times p
matrix showing in what proportion particular edges are present.
If directed=TRUE, elements ij denote the proportion of weights matrices containing a path
from X_j
to X_i
. If directed=F, the output will be a symmetric matrix, with element ij
denoting in what proprtion an edge of either direction connects X_i
to X_j
.
References
Ryan O, Bringmann LF, Schuurman NK (upcoming). “The challenge of generating causal hypotheses using network models.” in preperation.