| centrality_transitivity | R Documentation |
Proportion of triangles around each node relative to the number of possible triangles. Measures how tightly clustered a node's neighborhood is.
centrality_transitivity(x, transitivity_type = "local", isolates = "nan", ...)
x |
Network input (matrix, igraph, network, cograph_network, tna object). |
transitivity_type |
Type of transitivity: |
isolates |
How to handle isolate nodes: |
... |
Additional arguments passed to |
Named numeric vector of transitivity values.
centrality for computing multiple measures at once.
adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_transitivity(adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.