| neighborhood_overlap | R Documentation |
Convenience wrapper around edge_centrality that returns only
the overlap measure sorted by overlap descending.
neighborhood_overlap(x, top = NULL, directed = NULL, digits = NULL, ...)
x |
Network input: matrix, igraph, network, cograph_network, or tna object. |
top |
Integer or NULL. Return only the top N edges. Default NULL. |
directed |
Logical or NULL. Default NULL (auto-detect). |
digits |
Integer or NULL. Round numeric columns. Default NULL. |
... |
Additional arguments passed to |
A data frame sorted by overlap (descending) with columns:
from, to, weight (if weighted), overlap,
shared_neighbors.
edge_centrality, simmelian_strength
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
cograph::neighborhood_overlap(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.