Learn R Programming

cograph (version 2.7.2)

centrality_topological_coefficient: Topological Coefficient

Description

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

Usage

centrality_topological_coefficient(x, ...)

Value

Named numeric vector of topological coefficient values.

Arguments

x

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

...

Additional arguments passed to centrality.

See Also

centrality for computing multiple measures at once.

Examples

Run this code
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)

Run the code above in your browser using DataLab