centrality_authority: HITS Authority and Hub Scores

View source: R/centrality.R

centrality_authorityR Documentation

HITS Authority and Hub Scores

Description

Kleinberg's HITS algorithm. centrality_authority scores nodes pointed to by good hubs. centrality_hub scores nodes that point to good authorities.

Usage

centrality_authority(x, ...)

centrality_hub(x, ...)

Arguments

x

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

...

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

Value

Named numeric vector of authority or hub scores.

See Also

centrality for computing multiple measures at once.

Examples

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

cograph documentation built on April 1, 2026, 1:07 a.m.