centrality_coreness: Coreness

View source: R/centrality.R

centrality_corenessR Documentation

Coreness

Description

Coreness (Seidman 1983) is the largest k for which a node belongs to the k-core, the maximal subnetwork in which every node has degree at least k. It is found by repeatedly removing the nodes of lowest degree.

Usage

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

Arguments

x

Network input accepted by centrality.

mode

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

...

Further arguments to centrality, such as loops and normalized.

Details

Edge weights are ignored. mode = "in" and mode = "out" peel by in-degree and out-degree, and mode = "all" by total degree, in which a reciprocated tie counts twice. A self-loop adds a fixed amount to the degree of its node throughout the peeling. The values match igraph::coreness().

Value

A named numeric vector with one score per node, in input node order.

References

Seidman, S. B. (1983). Network structure and minimum degree. Social Networks, 5(3), 269-287. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/0378-8733(83)90028-X")}.

See Also

centrality_degree, centrality_s_core, centrality.

Examples

centrality_coreness(regulation_net)

cograph documentation built on Nov. 19, 2026, 5:07 p.m.