centrality_topological_coefficient: Topological Coefficient

View source: R/centrality.R

centrality_topological_coefficientR Documentation

Topological Coefficient

Description

Fraction of shared second-order neighbors, measuring topological overlap between a node and its neighbors.

Usage

centrality_topological_coefficient(x, ...)

Arguments

x

Network input (matrix, igraph, network, cograph_network, tna object).

...

Additional arguments passed to centrality.

Value

Named numeric vector of topological coefficient values.

See Also

centrality for computing multiple measures at once.

Examples

adj <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_topological_coefficient(adj)

cograph documentation built on May 31, 2026, 5:06 p.m.