Description Usage Arguments Details Value
View source: R/pairwise_redundancy.R
Measuring relative redundancy of ties.
1 2 3 4 5 | pairwise_redundancy(g, v = igraph::V(g))
pr_invdistance(g, v = igraph::V(g))
pr_sharedp(g, v = igraph::V(g))
|
g |
graph |
v |
nodes to be treated as egos |
pairwise_redundancy
computes a combination of the two measures:
Every function returns a data frame with columns ego
, v1
,
v2
with codes for, respectively, ego, alter1, and alter2. Additional column
depends on function and it is:
inverse distance returned by pr_invdistance
number of shared partners returned by pr_sharedp
the two above combined returned by pairwise_redundancy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.