centrality_gilschmidt: Gil-Schmidt Power Index

View source: R/centrality.R

centrality_gilschmidtR Documentation

Gil-Schmidt Power Index

Description

Sum of 1/d(v,w) normalized by (n-1). Variant of closeness using harmonic mean of distances.

Usage

centrality_gilschmidt(x, mode = "all", ...)

Arguments

x

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

mode

For directed networks: "all" (default), "in", or "out".

...

Additional arguments passed to centrality (e.g., normalized, weighted, directed).

Value

Named numeric vector of Gil-Schmidt power index values.

See Also

centrality for computing multiple measures at once, centrality_harmonic for a related measure.

Examples

adj <- matrix(c(0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0), 4, 4)
rownames(adj) <- colnames(adj) <- c("A", "B", "C", "D")
centrality_gilschmidt(adj)

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