list_centralities: Catalogue of the Centrality Measures

View source: R/centrality-metadata.R

list_centralitiesR Documentation

Catalogue of the Centrality Measures

Description

Returns a table of every measure centrality can compute. For each measure the table records which end of the scale marks a prominent node, whether the measure accepts mode, whether it requires a community partition, whether it uses edge weights, and whether type = "all" holds it back because its cost grows steeply with network size.

Usage

list_centralities(orientation = NULL, costly = NULL, needs_membership = NULL)

Arguments

orientation

Keep only measures with this orientation: "higher" or "lower". Default NULL keeps both.

costly

Keep only costly measures (TRUE) or only the rest (FALSE). Default NULL keeps both.

needs_membership

Keep only measures that require a partition (TRUE) or only those that do not (FALSE). Default NULL keeps both.

Details

For some measures a low value marks the more central node, so a descending sort of their column places the most peripheral nodes first. orientation = "lower" lists them.

Value

A data.frame with one row per measure and the columns measure (the name to pass to centrality(measures = )), orientation ("higher" or "lower", which end of the scale marks a prominent node), mode_aware (whether the measure accepts mode and its column carries a mode suffix), needs_membership, uses_weights, and costly (held back from type = "all"; add it with include = ). Rows are ordered by measure name.

See Also

centrality to compute them, centrality_degree and the other one-measure verbs.

Examples

list_centralities(orientation = "lower")

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