
Centrality catalogue
Mohammed Saqr and Sonsoles López-Pernas
Source:vignettes/centrality-catalogue.Rmd
centrality-catalogue.RmdCentrality measures quantify the position of a node in a network. The simplest, degree, counts the ties of a node. Other measures are built from the distances between nodes, the shortest paths that pass through a node, walks of all lengths, or the community structure of the network. Each measure describes a different aspect of position, and the choice between them depends on the process the network is assumed to carry.
This catalogue documents the 274 measures available through
centrality(), organised by family. Each entry gives a short
description, the formula as implemented, a guide to interpreting the
scores, and an example. The examples use
student_interactions, a data set of observed interactions
between students included in the package. Tuning parameters are
arguments of centrality() and are listed in the argument catalogue.
centrality(student_interactions)
#> node degree_all strength_all closeness_all betweenness eigenvector
#> 1 Ac 33 129 0.01754386 26.342857 1.000000e+00
#> 2 Ad 20 36 0.01754386 42.541520 1.096110e-01
#> 3 Fi 24 51 0.01666667 35.721634 1.789565e-01
#> 4 Ik 14 24 0.01666667 25.844874 1.551369e-02
#> 5 Vx 26 43 0.01960784 90.717124 7.238902e-02
#> 6 Rt 20 37 0.01785714 63.135739 1.159931e-01
#> 7 Km 11 16 0.01639344 18.175108 2.804725e-02
#> 8 Gj 19 31 0.01818182 114.599049 3.265786e-02
#> 9 Bd 12 18 0.01612903 21.769264 9.607736e-03
#> 10 Ce 10 13 0.01612903 16.648629 4.473504e-03
#> 11 Oq 14 20 0.01754386 34.151726 2.293068e-02
#> 12 Ya 13 19 0.01612903 18.216122 1.758656e-02
#> 13 Mo 12 17 0.01587302 38.264502 1.003629e-01
#> 14 Hj 12 19 0.01754386 85.816522 2.013125e-02
#> 15 Tv 10 13 0.01666667 25.916306 1.320877e-02
#> 16 Eg 10 12 0.01639344 22.335171 5.783916e-03
#> 17 Pr 11 18 0.01666667 23.974060 7.602231e-02
#> 18 Qs 15 19 0.01785714 76.910851 1.511764e-02
#> 19 Xz 14 18 0.01639344 22.280159 8.533484e-03
#> 20 Np 8 8 0.01666667 12.044048 1.549052e-02
#> 21 Dg 13 13 0.01886792 29.240901 6.260099e-03
#> 22 Hk 16 25 0.01818182 72.176441 1.201845e-01
#> 23 Wy 11 16 0.01639344 34.014358 1.054705e-03
#> 24 Jl 15 18 0.01818182 67.359085 5.009801e-02
#> 25 Fh 21 55 0.01818182 78.588877 2.817489e-01
#> 26 Zb 7 8 0.01538462 9.583333 5.429715e-05
#> 27 Eh 7 13 0.01428571 34.325000 1.163185e-03
#> 28 Be 14 16 0.01851852 105.250898 2.203252e-03
#> 29 Df 8 10 0.01562500 11.026190 4.800876e-06
#> 30 Cf 12 15 0.01724138 119.109163 1.243207e-02
#> 31 Su 6 9 0.01369863 33.154401 1.028472e-04
#> 32 Ln 7 8 0.01408451 5.749708 1.376854e-02
#> 33 Gi 3 4 0.01351351 0.000000 0.000000e+00
#> 34 Uw 4 7 0.01250000 0.000000 0.000000e+00
#> pagerank
#> 1 0.285861728
#> 2 0.052985644
#> 3 0.077591140
#> 4 0.024836857
#> 5 0.057364714
#> 6 0.042552472
#> 7 0.016655998
#> 8 0.025444498
#> 9 0.014321668
#> 10 0.010679742
#> 11 0.016087378
#> 12 0.016588876
#> 13 0.031180263
#> 14 0.019051413
#> 15 0.012644206
#> 16 0.010425091
#> 17 0.022794289
#> 18 0.019784870
#> 19 0.013229134
#> 20 0.008466679
#> 21 0.010345027
#> 22 0.040383192
#> 23 0.009067435
#> 24 0.020529375
#> 25 0.070538086
#> 26 0.005635780
#> 27 0.010080122
#> 28 0.009378924
#> 29 0.004957518
#> 30 0.017877547
#> 31 0.005136500
#> 32 0.007628879
#> 33 0.005483193
#> 34 0.004411765Pass type = "all" for all ordinary-cost measures,
include = "costly" to add costly ones,
measures = c(...) to pick a subset, digits =
to round, and sort_by = to order the result.
How to read this catalogue
Every measure below is documented with up to five fields:
- Concept — what the measure captures, in words.
-
Definition — the formula as
cographcomputes it. Where its normalisation differs from a textbook statement, the formula shown is the onecographuses. - Meaning — how to read a high (or low) value.
-
Arguments — the
centrality()arguments that change the measure, when it has any. -
Example — a runnable call on
student_interactions. Five of them warn on this graph, because the measure is undefined or does not converge there: Katz at the defaultkatz_alpha, Hubbell, random-walk and Markov centrality, and IEC. The warning names the cause and, for Katz, the largestkatz_alphathat converges.
Notation
Throughout, is a graph with nodes and adjacency matrix ; are edge weights, is the neighbour set of , its degree, and its strength. We write for the shortest-path distance, for the graph diameter, and (resp. ) for the number of shortest – paths (resp. those passing through ). is the graph Laplacian and the all-ones vector.
Catalogue index
Degree, strength and local connectivity
X-degree · Clustering Degree Algorithm · Weighted formal concept analysis (WFCA) · Node importance evaluation matrix (NIEM) · Improved k-shell decomposition (IKSD) · K-shell based gravity centrality (KSGC) · Classified neighbors centrality · Hybrid degree centrality · Effective gravity model (EGM) · Entropy-based social influence · Weight degree centrality (Wdc) · Extended weight degree centrality (EWdc) · Mapping entropy (ME) · Improved entropy-based centrality · Weight neighborhood centrality · Density centrality · Weighted k-shell degree neighborhood (WKSDN) · Mu-power community index · Global importance of nodes (GIN) · Icentr · Global and local information (GLI) · KDEC method · Common out-neighbor (CON) score · Entropy and mutual information-based centrality (EMI) · Improved neighbors’ k-core (INK) · Extended Neighborhood Coreness · Malatya Centrality · Volume Centrality · Degree Centrality · Indegree Centrality · Outdegree Centrality · Strength Centrality · Instrength Centrality · Outstrength Centrality · Expected Centrality · Leverage Centrality · Lobby Centrality · H-Index Strength Centrality · Local H-Index Centrality · Semi-Local Centrality · ClusterRank Centrality · Collective Influence Centrality · MNC Centrality · DMNC Centrality · LAC Centrality · Gravity Centrality · Neighborhood Connectivity · Entropy Variation, Degree · Flow Coefficient · Local Entropy · Weighted h-index · Redundancy
Distance and closeness
Improved Global Structure Model · Global Structure Model · Hybrid Global Structure Model · Exogenous Centrality · Improved Closeness Centrality · Spreading probability (SP) · Node importance contribution correlation matrix (NICCM) · Correlation centrality · Laplacian gravity centrality (LGC) · Weighted gravity model (WGravity) · Average shortest path centrality (AC) · Extended Gravity Centrality · Closeness Centrality · Incloseness Centrality · Outcloseness Centrality · Harmonic Centrality · Inharmonic Centrality · Outharmonic Centrality · Residual Closeness Centrality · Dangalchev Closeness Centrality · Generalized Closeness Centrality · Harary Centrality · Average Distance Centrality · Barycenter Centrality · Wiener Centrality · Lin Centrality · Decay Centrality · Radiality Centrality · Gil-Schmidt Centrality · Integration Centrality · Eccentricity Centrality · Ineccentricity Centrality · Outeccentricity Centrality · Closeness Vitality · Entropy Centrality · Centroid Centrality · Distance Entropy · Local Dimension · Local Information Dimensionality · Access Information · Hide Information · Local Dimension, Fixed Radius · Fuzzy Local Dimension · Local Volume Dimension · Heatmap Centrality · Geodesic k-path · k-path Census · Distance-weighted Fragmentation · Geodesic Power Closeness
Shortest-path brokerage and flow
Randomized shortest paths (RSP) betweenness · Relative-entropy integrated evaluation · DK-based gravity model · Mixed gravitational centrality · Extended mixed gravitational centrality · Localized bridging centrality · Extended local bridging centrality · Proximal betweenness · RCFB (resized current-flow betweenness) · Mapping entropy betweenness (MEB) · Betweenness Centrality · Stress Centrality · Load Centrality · Length-scaled Betweenness · Distance-decayed Betweenness · Ego Betweenness · Bottleneck Centrality · Bridging Centrality · Local bridging (legacy degree product) · Percolation Centrality · Flow Betweenness Centrality · Current-Flow Betweenness Centrality · Current-Flow Closeness Centrality · Entropy Variation, Betweenness
Spectral, walk and influence
Trust-PageRank · Iterative resource allocation (IRA) · Improved iterative resource allocation (IIRA) · Multi-characteristics gravity model · SpectralRank · ControlRank · Node and Neighbor Layer Information · Expected Force · Modified Expected Force · Bridging capital · LineRank · Random walk decay · Graph regularization centrality · Adaptive LeaderRank · Weighted LeaderRank · TOPSIS centrality · All-around score · Multi-evidence centrality (MeC) · Analytic Hierarchy Process (AHP) centrality · Semi-local iterative algorithm (semi-IA) · Synthesize centrality (SC) · Inward accessibility · PhysarumSpreader · ArticleRank · Entropy-based gravity model · Node Resistance Curvature · Dynamics-Sensitive Centrality · Finite-Horizon Diffusion Centrality · Dynamical Importance · Eigenvector Centrality · PageRank Centrality · Authority Centrality · Hub Centrality · SALSA Centrality · LeaderRank Centrality · Alpha Centrality · Bonacich Power Centrality · Katz Centrality · Hubbell Centrality · Subgraph Centrality · Laplacian Centrality · Communicability Centrality · Communicability Betweenness Centrality · Random Walk Centrality · Markov Centrality · TOPSIS with relative entropy (TOPSIS-RE) · Hybrid centrality · Long-range interaction centrality (LRIC, maximal path) · All cycle betweenness · Transportation centrality · Path-transfer centrality · Counting betweenness · Dynamical spanning tree (DST) centrality · NWRank · Biased random walk centrality · X-nonbacktracking centrality · Total Effects Centrality (TEC) · Mediative Effects Centrality (MEC) · Immediate Effects Centrality (IEC) · Second-Order Centrality · Information Centrality · Nonbacktracking Centrality · Diffusion Degree · Infection Centrality · Edge Percolated Component · VoteRank Centrality · Expected Influence 1-Step · Expected Influence 2-Step · Spanning Tree Centrality · Shapley Value, Game 1 · Shapley Value, Game 2 · Shapley Value, Game 3 · Rumor Centrality · DegreeDiscountIC · SingleDiscount · NCVoteRank · WVoteRank · EnRenew · VoteRank++ · Node Contraction · Improved Node Contraction · Two-Way Random Walk Betweenness
Neighbourhood structure and cohesion
Degree and importance of lines (DIL) · Lhc index · Hybrid characteristic centrality (HCC) · Extended hybrid characteristic centrality (EHCC) · KED method · Local neighbor contribution (LNC) · Neighborhood (neighbor distance) centrality · Coleman-Theil hierarchy · RMD-weighted degree (WD) · Extended RMD-weighted degree (EWD) · Modified local centrality (MLC) · ProfitLeader · Hierarchical k-shell (HKS) · Diversity-strength centrality (DSC) · Diversity-strength ranking (DSR) · Extended diversity-strength ranking (EDSR) · Local structural centrality (LSC) · Global and local structure (GLS) · K-shell iteration factor (KS-IF) · NL centrality · K-shell hybrid method (ksh) · Extended k-shell hybrid method (ESKH) · Improved k-shell hybrid method (IKH) · Extended improved k-shell hybrid method (EIKH) · Mixed core, degree and entropy (MCDE) · Mixed core, degree and weighted entropy (MCDWE) · Mixed core, semi-local degree and entropy (MCSDE) · Mixed core, semi-local degree and weighted entropy (MCSDWE) · Degree and clustering coefficient (DCC) · Edge clustering coefficient centrality (NC) · Influence capability (IC) · Extended H-index centrality (EHC) · Entropy-Based Ranking Measure (ERM) · Shell clustering coefficient · Extended Cluster Coefficient Ranking Measure (ECRM) · M-centrality · Weighted k-shell degree neighborhood (Wksd) · Maximal Clique Centrality · Node Truss Number · Mixed Degree Decomposition · Bridging Coefficient · Godfather Index · Supported Relationships · Transitivity Centrality · Constraint Centrality · Effective Size Centrality · Topological Coefficient Centrality · Diversity Centrality · Cross-Clique Centrality · Coreness Centrality · Onion Centrality · K-Reach Centrality · s-shell Index · Weighted k-shell · Renewed Coreness · s-core Index · Local Efficiency
Directed prestige and hierarchy
BG-index (beta power) · Prestige Domain Centrality · Prestige Domain Proximity Centrality · Local Reaching Centrality · Pairwise Disconnectivity Centrality · Trophic Level Centrality
Community and group-based
Map equation centrality · Participation Coefficient · Within-Module Z Centrality · Gateway Centrality · Brokerage Coordinator Centrality · Brokerage Itinerant Centrality · Brokerage Representative Centrality · Brokerage Gatekeeper Centrality · Brokerage Liaison Centrality · Modularity Vitality · Community Hub-Bridge · Community-Based Centrality · Comm Centrality · Community-Based Mediator
Degree, strength and local connectivity
X-degree
Nonbacktracking four-edge walks centered at each node.
Meaning. A high value indicates a node at the centre of many non-backtracking four-step walks, a sign that its neighbours connect it to the wider network. Isolates, leaves and every node of a star score zero.
Arguments. normalized
centrality_x_degree(student_interactions)Clustering Degree Algorithm
Degree and strength adjusted by Barrat weighted clustering, plus weighted contributions from immediate neighbors.
Meaning. A high value indicates a node that is well
connected and clustered, with neighbours that are too.
cda_alpha (default 0.5) balances degree against strength.
Because weights enter directly, their units matter.
Arguments. cda_alpha,
weighted, simplify
centrality_cda(student_interactions)Weighted formal concept analysis (WFCA)
Find every group of nodes together with the full set of targets they all point to, and credit each target with the size of the group divided by the number of targets.
Meaning. A high value indicates a node that many
groups of nodes have in common as a target, most of all when it is one
of few such common targets. The number of such groups can grow very fast
with the size of the network; past enumeration_limit of
them the measure returns NA with a warning.
Arguments. enumeration_limit,
normalized
centrality_wfca(student_interactions)Node importance evaluation matrix (NIEM)
Multiply how close a node is to everyone else by how well-connected and close its neighbours are.
Meaning. A high value indicates a node that reaches the rest of the network in few steps and whose neighbours have many ties and do the same. Pairs with no path between them add nothing. Isolated nodes score zero.
Arguments. normalized
centrality_niem(student_interactions)Improved k-shell decomposition (IKSD)
Peel the network one layer at a time, each time removing only the nodes with the fewest remaining ties, and record the round in which each node goes.
Meaning. A high value indicates a node removed late, deep inside the network. Because only the lowest-degree nodes leave in each round, nodes that share a k-shell usually get different values. Isolated nodes form the first round.
Arguments. normalized
centrality_iksd(student_interactions)K-shell based gravity centrality (KSGC)
A gravity model with the degree as mass, in which the pull of a node on another grows with the difference of their k-shell indices. Only nodes within half the average path length count.
Meaning. A high value indicates a well-connected node in a deeper shell than the well-connected nodes near it. The radius is not rounded, so on a network whose average path length is below 2 every score is 0; the measure suits large sparse networks.
Arguments. normalized
centrality_ksgc(student_interactions)Classified neighbors centrality
Count a node’s neighbours in four classes by where they stand in the k-shell decomposition, a higher shell, the same shell removed at the same step or later, the same shell removed earlier, or a lower shell, and weight the four counts.
Meaning. A high value indicates a node with many neighbours that lie as deep in the network as it does, or deeper. With equal weights it is the degree. The default weights are (0.4, 0.35, 0.25, 0.1).
Arguments. cn_weights,
normalized
centrality_classified_neighbors(student_interactions)Hybrid degree centrality
Blend the degree with the modified local centrality, in a proportion set by the spreading probability of the process the ranking is meant for.
Meaning. A high value indicates a node with many
ties when the spreading probability hc_p is low, and a node
with wide two-step surroundings when it is high. hc_p has
no default and must be given; without it the measure returns
NA with a warning.
Arguments. hc_p, hc_alpha,
hc_beta, normalized
centrality_hybrid_degree(student_interactions, hc_p = 0.05)Effective gravity model (EGM)
A gravity model in which the mass of a node is its degree times the entropy of the degrees around it, and each node has its own radius, set by its eccentricity and by the degree of the nodes farthest from it.
Meaning. A high value indicates a well-connected
node with well-connected nodes inside its radius. A node whose radius is
below 1 scores 0. It needs a connected network; otherwise every node
returns NA with a warning.
Arguments. normalized
centrality_egm(student_interactions)Entropy-based social influence
Count two nodes as friends when each has interacted with the other. The direct influence of a node mixes the logarithm of its number of friends with the entropy of how its outgoing interactions are spread over them; its indirect influence is passed on to the friends of its friends.
Meaning. A high value indicates a node with many
mutual ties, evenly used, whose friends are themselves influential. It
uses direction and weights; on a directed network without mutual ties
every score is 0. The measure is that of Peng et al. (2017). It is not a
Centrality Zoo label: the Zoo’s improved entropy-based centrality is the
measure of Ni et al. (2020), improved_entropy.
Arguments. ei_alpha,
ei_omega, weighted,
normalized
centrality_entropy_influence(student_interactions)Weight degree centrality (Wdc)
Count the two-step walks out of a node that do not come straight back, and multiply by its degree raised to the absolute degree assortativity of the network.
Meaning. A high value indicates a node whose
neighbours have many other ties. With wdc_alpha = 0 it is
the common-neighbour score con; on a regular network the
assortativity is undefined and the exponent is 0.
Arguments. wdc_alpha,
normalized
centrality_wdc(student_interactions)Extended weight degree centrality (EWdc)
Apply the weight degree construction once more, to the weight degree centrality of the neighbours.
Meaning. A high value indicates a node whose neighbours score high on weight degree centrality. The score can be negative, for instance at the leaves of a star.
Arguments. wdc_alpha,
normalized
centrality_ewdc(student_interactions)Mapping entropy (ME)
Take the degree centrality of a node, the degree divided by one less than the number of nodes, and multiply it by minus the sum of the logarithms of its neighbours’ degree centralities.
Meaning. A high value indicates a well-connected
node whose neighbours have few ties relative to the network. The source
does not define its degree centrality; the usual normalised degree is
used, and the raw degree of the Centrality Zoo reverses the ranking.
local_entropy is a different equation of the same
source.
Arguments. normalized
centrality_mapping_entropy(student_interactions)Improved entropy-based centrality
Mix the entropy of how a node’s tie weights are spread over its neighbours with the entropy of their degrees raised to a power, and add an indirect part passed on to the nodes two steps away.
Meaning. A high value indicates a node with evenly
used ties to neighbours of varied degree, whose own neighbours are
influential. It uses weights and is NA with a warning on a
directed network. This is the measure of Ni et al. (2020); Peng et al.’s
measure is entropy_influence.
Arguments. ie_beta,
weighted, normalized
centrality_improved_entropy(student_interactions)Weight neighborhood centrality
Add to the degree (or coreness) of a node those of its neighbours, each weighted by the product of the two degrees relative to the average edge.
Meaning. A high value indicates a node of high degree (or coreness) tied to other such nodes by important edges. The average edge importance is taken over the whole network.
Arguments. wnc_benchmark,
wnc_alpha, normalized
centrality_weight_neighborhood(student_interactions)Density centrality
Spread a node’s degree over discs whose radii are its distances to the nodes around it, and add up the densities.
Meaning. A high value indicates a node with many
ties that has many other nodes close by. density_radius
(default 3) is the largest distance counted; Inf counts
every node that can be reached.
Arguments. density_radius,
normalized
centrality_density_centrality(student_interactions)Weighted k-shell degree neighborhood (WKSDN)
Weigh each tie by the k-shell indices and the degrees of its two ends, and add up the weights of a node’s ties.
Meaning. A high value indicates a node with many ties, in a dense core, to neighbours that are well connected and in the core as well.
Arguments. normalized
centrality_wksdn(student_interactions)Mu-power community index
Find the largest number k such that enough nodes near the node, at least mu times k of them within mu steps, have k ties or more.
Meaning. A high value indicates a node surrounded by
many well-connected nodes, a sign of a dense community around it. With
pci_mu = 1 (the default) only direct neighbours count and
the index equals lobby.
Arguments. pci_mu,
normalized
centrality_mu_pci(student_interactions)Global importance of nodes (GIN)
Sum the degrees of all other nodes, each divided by its distance from the node, and scale the result by a factor that grows with the node’s own degree.
Meaning. A high value indicates a well-connected
node that is close to the well-connected nodes of the whole network, not
only to its neighbours. gin_alpha (default 1) sets how much
the node’s own degree counts. Nodes that cannot be reached add nothing,
and isolated nodes score zero.
Arguments. gin_alpha,
normalized
centrality_gin(student_interactions)Icentr
Count every tie in the node’s part of the network, halving the count of a tie for each further step it lies from the node.
Meaning. A high value indicates a node with many ties close by: its own ties count fully, ties among its neighbours and one step further count half, and so on. It combines degree with nearness to the dense parts of the network.
Arguments. normalized
centrality_icentr(student_interactions)Global and local information (GLI)
Give every node a mass that combines its degree, its k-shell and how late it is peeled off the network, and add up the masses within a few steps, nearer nodes counting more.
Meaning. A high value indicates a node surrounded,
within gli_radius steps (default 3), by well-connected
nodes that sit deep in the core of the network. The node’s own mass
enters as a mild multiplier. Isolated nodes score zero.
Arguments. gli_radius,
normalized
centrality_gli(student_interactions)KDEC method
Give each node a weight, its core number times its degree, and add up the pull it exchanges with the nodes one and two steps away, where reaching a well-connected node counts as a longer step.
Meaning. A high value indicates a well-connected node in a dense core whose surroundings, up to two steps away, are also well connected and in the core. A node two steps away counts once for every neighbour that leads to it. The score is divided by the number of nodes of the whole network.
Arguments. normalized
centrality_kdec(student_interactions)Common out-neighbor (CON) score
Count the targets a node has in common with every other node: the nodes it sends ties to that some other node also sends ties to.
Meaning. A high value indicates a node with many competitors, nodes that direct their ties at the same targets. On an undirected network it is the sum of the neighbours’ degrees, each less one. With weights read as numbers of interactions, the smaller of the two counts.
Arguments. weighted,
normalized
centrality_con(student_interactions)Entropy and mutual information-based centrality (EMI)
Combine how evenly the degrees of a node’s neighbours are spread with how many neighbours it shares with each of them.
Meaning. A high value indicates a node with many neighbours of similar degree that share few contacts with it. The entropy term grows with the number and evenness of neighbours; the mutual information term is zero or negative and lowers the score of nodes inside triangles. Isolated nodes and nodes with one neighbour score zero.
Arguments. normalized
centrality_emi(student_interactions)Improved neighbors’ k-core (INK)
Add up the core numbers of a node’s neighbours, each raised to a power that sets how much a neighbour in a high core counts.
Meaning. A high value indicates a node whose
neighbours sit in dense cores of the network, which separates nodes that
share one core number. ink_alpha is 1 by default, the sum
of the neighbours’ core numbers; at 0 the score is the degree, and
larger values weight high-core neighbours more. The node’s own core
number is not counted and isolates score zero.
Arguments. ink_alpha,
normalized
centrality_ink(student_interactions)Extended Neighborhood Coreness
The sum of neighbors’ neighborhood-coreness scores, using core numbers from the original simple undirected graph.
Meaning. Rewards access to core-rich neighborhoods. Every length-two walk contributes, including returns to the focal node and multiple walks reaching the same endpoint. Isolates score zero; on a regular graph of degree d it equals d cubed. Other inputs are projected to the simple undirected skeleton.
centrality_extended_coreness(student_interactions)Malatya Centrality
The sum of a node’s degree divided by each neighbour’s degree, calculated on the original simple undirected graph.
Meaning. Favours nodes with many low-degree neighbours. Isolates score zero. On nonisolated vertices the score is exactly the reciprocal of the bridging coefficient; on a regular graph it equals degree.
centrality_malatya(student_interactions)Volume Centrality
The total original-graph degree inside a closed hop neighbourhood, including its centre.
Meaning. Measures connectivity within and leaving the neighbourhood. Radius 0 gives degree, default 2 uses two hops, and infinite radius gives twice the component’s edge count. Uses the simple undirected skeleton.
Arguments. volume_radius
centrality_volume(student_interactions)Degree Centrality
Degree centrality counts the number of direct ties incident on a node. In directed graphs, it can be separated into incoming and outgoing ties.
Meaning. A high degree value indicates many direct observed connections. It is a local measure of connectivity.
Arguments. mode, loops
centrality_degree(student_interactions)Indegree Centrality
Indegree counts ties pointing into a node under a directed interpretation.
Meaning. A high indegree value indicates many incoming observed ties. Its substantive meaning depends on what edge direction represents.
centrality_indegree(student_interactions)Outdegree Centrality
Outdegree counts ties leaving a node under a directed interpretation.
Meaning. A high outdegree value indicates many outgoing observed ties. In transition networks, this can mean many possible next states.
centrality_outdegree(student_interactions)Strength Centrality
Strength centrality is weighted degree: it sums edge weights instead of counting edges.
Meaning. A high strength value indicates high total incident edge weight. This should be interpreted according to how weights were defined.
Arguments. mode
centrality_strength(student_interactions)Instrength Centrality
Instrength sums incoming edge weights.
Meaning. A high instrength value indicates high total incoming weight. It is a weighted incoming-connectivity measure.
centrality_instrength(student_interactions)Outstrength Centrality
Outstrength sums outgoing edge weights.
Meaning. A high outstrength value indicates high total outgoing weight. Diversity describes how that weight is spread across ties.
centrality_outstrength(student_interactions)Expected Centrality
Expected centrality sums the degrees of a node’s neighbours.
Meaning. A high value indicates adjacency to well-connected nodes.
Arguments. mode
centrality_expected(student_interactions)Leverage Centrality
Leverage centrality compares a node’s degree with the degrees of its neighbours.
Meaning. A positive high value indicates that the node is more connected than its neighbours under this degree comparison.
Arguments. mode
centrality_leverage(student_interactions)Lobby Centrality
Lobby centrality is the h-index of neighbour degrees.
Meaning. A high value indicates many neighbours that themselves have reasonably high degree.
Arguments. mode
centrality_lobby(student_interactions)H-Index Strength Centrality
H-index strength is a weighted h-index-style neighbourhood measure.
Meaning. A high value indicates strong ties to neighbours meeting a weighted connectivity threshold.
Arguments. mode
centrality(student_interactions, measures = "hindex_strength")Local H-Index Centrality
Local h-index centrality iteratively applies h-index logic to local neighbourhoods.
Meaning. A high value indicates a locally robust neighbourhood position under the h-index updating rule.
centrality(student_interactions, measures = "local_hindex")Semi-Local Centrality
Semi-local centrality extends degree-like counting beyond immediate neighbours.
Meaning. A high value indicates proximity to a locally well-connected neighbourhood.
Arguments. mode
centrality_semilocal(student_interactions)ClusterRank Centrality
ClusterRank combines neighbour degree information with local clustering.
Meaning. A high value indicates local connectedness adjusted for clustering-related redundancy.
Arguments. mode
centrality_clusterrank(student_interactions)Collective Influence Centrality
Collective influence combines a node’s excess degree with excess degree on a local boundary.
Meaning. A high value indicates potential importance under the collective influence model.
centrality(student_interactions, measures = "collective_influence")MNC Centrality
Maximum neighbourhood component centrality is the size of the largest connected component in a node’s neighbourhood.
Meaning. A high value indicates that many neighbours belong to one connected local component.
Arguments. mode
centrality_mnc(student_interactions)DMNC Centrality
DMNC is a density-adjusted version of maximum neighbourhood component centrality.
Meaning. A high value indicates a large and dense local neighbour component under the chosen density exponent. Here and are the edges and nodes of the largest component of .
Arguments. mode,
dmnc_epsilon
centrality_dmnc(student_interactions)LAC Centrality
LAC, or local average connectivity, measures connectivity in a node’s neighbourhood.
Meaning. A high value indicates that the node’s neighbours form a relatively connected local structure.
Arguments. mode
centrality_lac(student_interactions)Gravity Centrality
Gravity centrality treats each node’s mass as attracting the mass of others over graph distance, and can be truncated at a radius.
Meaning. A high value indicates proximity to massive
nodes. By default mass is the k-shell and only nodes within three steps
contribute; gravity_mass = "degree", gravity_radius = NULL
gives the degree-based gravity model over all reachable nodes, and
gravity_radius = "auto" sets the radius from the
network.
Arguments. mode,
gravity_mass, gravity_radius
centrality_gravity(student_interactions)Neighborhood Connectivity
Neighborhood connectivity is the mean degree of a node’s neighbours (average neighbour degree).
Meaning. A high value indicates attachment to hubs.
Isolates score 0. Direction is respected under mode.
Arguments. mode
centrality_neighborhood_connectivity(student_interactions)Entropy Variation, Degree
Entropy variation is the drop in the Shannon entropy of the degree distribution when the node and its links are removed.
Meaning. A high value indicates a node whose removal makes the remaining degree distribution more concentrated. Signed; negative values occur.
Arguments. mode
centrality(student_interactions, measures = "entropy_variation_degree")Flow Coefficient
The flow coefficient is the share of a node’s neighbour pairs that are connected only through the node.
Meaning. A high value indicates a node that mediates local flow. On an undirected graph it equals one minus the clustering coefficient.
centrality_flow_coefficient(student_interactions)Local Entropy
Local entropy sums over a node’s neighbours.
Meaning. Always non-positive; a lower (more negative) value indicates a larger, denser neighbourhood. Isolates score 0.
Arguments. mode
centrality_local_entropy(student_interactions)Weighted h-index
The weighted h-index takes the h-index over topological link weights, each neighbour’s weight repeated by its degree.
Meaning. A high value indicates a node with many well-connected neighbours. Input edge weights are ignored.
Arguments. mode
centrality_weighted_h_index(student_interactions)Redundancy
Redundancy is the mean degree of a node’s neighbours inside its ego network.
Meaning. A high value indicates neighbours that are connected to each other, so fewer structural holes.
centrality_redundancy(student_interactions)Distance and closeness
Improved Global Structure Model
Focal degree influence combined with degrees of reachable partners and a distance exponent set by global mean degree.
Meaning. A high value indicates a high-degree node lying close to other high-degree nodes. The distance penalty is set from the network’s mean degree, so it is steeper in denser networks. Only reachable nodes contribute.
Arguments. normalized
centrality_improved_global_structure(student_interactions)Global Structure Model
Focal coreness combined with distance-discounted coreness of all reachable partners.
Meaning. A high value indicates a node in the network’s core that lies close to many other core nodes. Every reachable node contributes, discounted by distance. Isolates score zero.
Arguments. normalized
centrality_global_structure(student_interactions)Hybrid Global Structure Model
Exponential degree-coreness influences with a distance penalty set by their global mean.
Meaning. A high value indicates a node that combines high degree and coreness and lies close to other such nodes. The distance penalty is set from the network’s average of these combined masses. Only reachable nodes contribute.
Arguments. normalized
centrality_hybrid_global_structure(student_interactions)Exogenous Centrality
Contribution of a node to the base centrality of all other nodes, measured by deleting it.
Meaning. A high value indicates a node that
contributes much to the centrality of others: removing it lowers their
centrality most. The base measure is set with
exogenous_base (reverse closeness by default, or degree or
betweenness). With betweenness, removing a node can raise other scores,
so values can be negative.
Arguments. exogenous_base,
mode, normalized
centrality_exogenous(student_interactions)Improved Closeness Centrality
Closeness adjusted for the number of shortest paths connecting each pair of nodes.
Meaning. A high value indicates a node that is close
to others and joined to them by many shortest paths.
icc_alpha (default 0.2) sets how much multiple shortest
paths shorten the effective distance; at 0 the measure is ordinary
closeness. Disconnected graphs score zero at every node.
Arguments. icc_alpha,
normalized
centrality_improved_closeness(student_interactions)Spreading probability (SP)
Count the shortest paths from a node to every node within a few steps, and divide each count by the mean degree of the network once per step.
Meaning. A high value indicates a node from which an
infection, crossing each tie with probability one over the mean degree,
reaches many nodes by many shortest routes. With
sp_radius = 1 it is the degree divided by the mean
degree.
Arguments. sp_radius,
normalized
centrality_spreading_probability(student_interactions)Node importance contribution correlation matrix (NICCM)
Let each node hand its efficiency to the nodes one and two steps away, shared in proportion to the efficiency each of them loses when the node is deleted. A node’s score is its own efficiency times what it receives.
Meaning. A high value indicates an efficient node on which efficient nodes nearby depend. Costly: every node is deleted in turn and all distances are recomputed, so it is computed only when named.
Arguments. niccm_layers,
normalized
centrality_niccm(student_interactions)Correlation centrality
Add up the efficiency of the other nodes, each multiplied by the number of shortest paths to it and divided by a power of the distance.
Meaning. A high value indicates a node close, by
several shortest routes, to nodes that are themselves close to everyone.
With the default coc_alpha = 3 the direct neighbours carry
most of the score.
Arguments. coc_alpha,
normalized
centrality_correlation_centrality(student_interactions)Laplacian gravity centrality (LGC)
A gravity model: for every node within half the average path length, multiply the two nodes’ Laplacian centralities and divide by the squared distance.
Meaning. A high value indicates a node whose removal costs the network much Laplacian energy, near other such nodes. On a network whose average path length is below 2 every score is 0.
Arguments. normalized
centrality_lgc(student_interactions)Weighted gravity model (WGravity)
Multiply the degree gravity model of a node, over the nodes within half the average path length, by the node’s entry of the unit-length leading eigenvector.
Meaning. A high value indicates a well-connected node near other well-connected nodes, in the part of the network the leading eigenvector picks out. On a network whose average path length is below 2 every score is 0.
Arguments. normalized
centrality_wgravity(student_interactions)Average shortest path centrality (AC)
Remove the ties of a node, keep the node, and measure how much the average distance of the network grows, counting a pair that is cut off at the diameter of the original network.
Meaning. A high value indicates a node whose loss lengthens many routes or cuts many pairs apart. Without cut vertices it ranks nodes in exactly the opposite order to closeness vitality.
Arguments. normalized
centrality_asp_centrality(student_interactions)Extended Gravity Centrality
The sum of immediate neighbors’ raw gravity scores, with k-shell masses and hop distances.
Meaning. A high value indicates a node whose
neighbours have high gravity centrality. Because the radius
(gravity_radius, default 3) is measured from each
neighbour, contributions can come from one step beyond it.
Arguments. gravity_radius
centrality_extended_gravity(student_interactions)Closeness Centrality
Closeness centrality summarises how short a node’s paths are to other reachable nodes.
Meaning. A high value indicates short graph distances to other nodes. In disconnected graphs, harmonic centrality may be easier to interpret.
Arguments. mode
centrality_closeness(student_interactions)Incloseness Centrality
Incloseness computes closeness over incoming directed paths.
Meaning. A high value indicates that other nodes can reach the focal node through short directed paths.
centrality_incloseness(student_interactions)Outcloseness Centrality
Outcloseness computes closeness over outgoing directed paths.
Meaning. A high value indicates that the focal node can reach other nodes through short directed paths.
centrality_outcloseness(student_interactions)Harmonic Centrality
Harmonic centrality sums reciprocal shortest-path distances. Unreachable nodes contribute zero.
Meaning. A high value indicates broad reach through short paths while handling disconnected components more gracefully than classical closeness.
Arguments. mode
centrality_harmonic(student_interactions)Inharmonic Centrality
Inharmonic centrality computes harmonic centrality over incoming directed paths.
Meaning. A high value indicates that the node is reachable from many others through short directed paths.
centrality_inharmonic(student_interactions)Outharmonic Centrality
Outharmonic centrality computes harmonic centrality over outgoing directed paths.
Meaning. A high value indicates that many nodes can be reached from the focal node through short directed paths.
centrality_outharmonic(student_interactions)Residual Closeness Centrality
Residual closeness sums over shortest-path distances (the focal node contributes ).
Meaning. A high value indicates many close reachable nodes with rapid distance decay.
Arguments. mode
centrality_residual_closeness(student_interactions)Dangalchev Closeness Centrality
Dangalchev closeness is the residual-closeness distance-decay measure.
Meaning. A high value indicates short-distance reach with distant nodes down-weighted.
Arguments. mode
centrality_dangalchev(student_interactions)Generalized Closeness Centrality
Generalized closeness sums $\\alpha^d$, where is the shortest-path distance.
Meaning. A high value indicates reach under the chosen distance-decay parameter.
Arguments. mode,
decay_parameter
centrality_generalized_closeness(student_interactions)Harary Centrality
Harary centrality sums inverse squared shortest-path distances.
Meaning. A high value indicates many nearby reachable nodes, with distant nodes strongly down-weighted.
Arguments. mode
centrality_harary(student_interactions)Average Distance Centrality
Average distance centrality summarises mean shortest-path distance from a node (the focal node’s term is included; the centiserve convention divides by ).
Meaning. Lower values indicate shorter average graph distance. The direction of interpretation should be checked because it is a distance quantity.
Arguments. mode
centrality_average_distance(student_interactions)Barycenter Centrality
Barycenter centrality is the inverse of the sum of shortest-path distances.
Meaning. A high value indicates a small total distance to other reachable nodes.
Arguments. mode
centrality_barycenter(student_interactions)Wiener Centrality
Wiener centrality records total shortest-path distance from a node (unreachable pairs contribute zero).
Meaning. Lower values indicate shorter total distance. It is better read as distance burden than influence.
Arguments. mode
centrality_wiener(student_interactions)Lin Centrality
Lin centrality combines reachable nodes and total distance to those nodes.
Meaning. A high value indicates many reachable nodes through relatively short paths.
Arguments. mode
centrality_lin(student_interactions)Decay Centrality
Decay centrality sums reach discounted by distance (the focal node contributes ).
Meaning. A high value indicates access to many nodes, especially nearby nodes. The value depends on the decay parameter.
Arguments. mode,
decay_parameter
centrality_decay(student_interactions)Radiality Centrality
Radiality compares node distances to the graph diameter.
Meaning. A high value indicates short distances to others relative to overall graph diameter.
Arguments. mode
centrality_radiality(student_interactions)Gil-Schmidt Centrality
Gil-Schmidt centrality sums reciprocal distances and normalises by graph size.
Meaning. A high value indicates broad reciprocal-distance access to the network.
Arguments. mode
centrality_gilschmidt(student_interactions)Integration Centrality
Integration centrality is a distance-based measure of how integrated a node is within the graph.
Meaning. A high value indicates broad distance-based access to the network.
Arguments. mode
centrality_integration(student_interactions)Eccentricity Centrality
Eccentricity is the maximum shortest-path distance from a node to any reachable node.
Meaning. Lower eccentricity generally indicates smaller worst-case distance. A high value means at least one reachable node is far away.
Arguments. mode
centrality_eccentricity(student_interactions)Ineccentricity Centrality
Ineccentricity computes eccentricity over incoming directed paths.
Meaning. It summarises the largest directed distance from other nodes into the focal node.
centrality_ineccentricity(student_interactions)Outeccentricity Centrality
Outeccentricity computes eccentricity over outgoing directed paths.
Meaning. It summarises the largest directed distance from the focal node to reachable others.
centrality_outeccentricity(student_interactions)Closeness Vitality
Closeness vitality measures how total network distance changes when a node is removed, using the Wiener index $W(G) = \\sum_{s, t} d(s, t)$.
Meaning. A high value indicates that removing the node substantially changes shortest-path structure.
Arguments. mode
centrality_closeness_vitality(student_interactions)Entropy Centrality
Entropy centrality measures the change in graph entropy associated with a node, from the distribution of finite shortest-path distances after the node is removed.
Meaning. A high value indicates strong contribution under the graph entropy definition being used.
Arguments. mode
centrality_entropy(student_interactions)Centroid Centrality
Centroid centrality compares distance dominance between pairs of nodes.
Meaning. A high value indicates a favourable position in pairwise distance comparisons.
Arguments. mode
centrality_centroid(student_interactions)Distance Entropy
Distance entropy is the normalised Shannon entropy of a node’s hop-distance profile, so it summarises the spread of distances where closeness summarises their mean.
Meaning. A high value (up to 1) indicates reach spread evenly across many network layers; 0 means every reachable node sits at the same distance. Hop counts only; weights are ignored.
Arguments. mode
centrality_distance_entropy(student_interactions)Local Dimension
Local dimension is the growth exponent of the ball around a node: how fast the number of nodes within hops grows with .
Meaning. A low value indicates a node that reaches most of the network within a few hops, so lower is more influential. With a single radius the discretised derivative is reported.
Arguments. mode
centrality_local_dimension(student_interactions)Local Information Dimensionality
Local information dimensionality replaces the ball count of local dimension by its Shannon information and grows the box only to half the node’s eccentricity.
Meaning. A high value indicates a more influential node. With a single box size the discretised derivative is reported.
Arguments. mode
centrality_local_information_dimension(student_interactions)Access Information
Access information is the mean number of bits a map-less walker needs to reach every other node along shortest paths.
Meaning. A low value indicates a node that reaches the network with few decisions. Hubs score high, because a walker leaving a hub has many links to choose from.
centrality_access_information(student_interactions)Hide Information
Hide information is the mean number of bits the rest of the network needs to locate a node.
Meaning. A high value indicates a hidden, peripheral node; hubs have low hide information.
centrality_hide_information(student_interactions)Local Dimension, Fixed Radius
The Silva-Costa local dimension is the discretised growth exponent of the ball around a node at one chosen radius.
Meaning. A structural descriptor: higher values mean the neighbourhood is still growing fast at that radius. Nodes with eccentricity below the radius score 0.
Arguments. mode,
ld_radius
centrality_local_dimension_fixed(student_interactions)Fuzzy Local Dimension
Fuzzy local dimension replaces the ball count by a Gaussian-weighted average and takes its log-log slope.
Meaning. A high value indicates a more influential node (the opposite orientation to the rest of the dimension family).
Arguments. mode
centrality_fuzzy_local_dimension(student_interactions)Local Volume Dimension
Local volume dimension is the log-log slope of the total degree inside the ball around a node.
Meaning. A low value indicates a more important node. The source article is closed access; the definition follows the authors’ later preprint.
Arguments. mode
centrality_local_volume_dimension(student_interactions)Heatmap Centrality
Heatmap centrality is a node’s farness minus the mean farness of its neighbours.
Meaning. A low (more negative) value indicates a more central node. Isolates are undefined.
Arguments. mode
centrality_heatmap(student_interactions)Geodesic k-path
Geodesic k-path centrality counts the shortest paths of length at most that start at a node, with multiplicity.
Meaning. A high value indicates many short geodesics
leaving the node. Counting nodes instead of paths gives m-reach, which
is what centiserve::geokpath computes.
Arguments. mode,
kpath_k
centrality_geodesic_kpath(student_interactions)k-path Census
The k-path census counts the simple paths of length at most that a node lies on, endpoints included.
Meaning. A high value indicates a node embedded in many short walks. Length 1 alone reproduces degree. Enumeration is exhaustive, so cost grows with the branching factor to the power .
Arguments. mode,
kpath_len
centrality_kpath(student_interactions)Distance-weighted Fragmentation
Distance-weighted fragmentation asks how much worse the network communicates once a node is deleted.
Meaning. A high value indicates a node whose removal fragments the network or stretches its distances. A node inside a clique scores near 0.
Arguments. mode
centrality_fragmentation(student_interactions)Geodesic Power Closeness
Geodesic power closeness raises every distance to a negative power, so one exponent moves the measure between a local and a global reading.
Meaning. A high value indicates a node close to many others. The exponent spans the family: is harmonic centrality over , is the inverse-square sum, a large approaches degree, and counts the reachable set. Unreachable nodes contribute nothing but stay in the denominator.
Arguments. mode,
closeness_delta
centrality_delta_closeness(student_interactions)Shortest-path brokerage and flow
Randomized shortest paths (RSP) betweenness
Count the visits a node gets from walks that lie between shortest paths and pure random walks, with one parameter setting the balance.
Meaning. A high value indicates a node that walks
between other pairs of nodes pass through often. rsp_beta
moves the measure between a random walk (small values; the default 0.01
lies near this end) and shortest-path betweenness (large values).
rsp_cost sets whether a weight is read as an affinity or as
a distance.
Arguments. rsp_beta,
rsp_cost, normalized
centrality_rsp_betweenness(student_interactions)Relative-entropy integrated evaluation
Turn several indexes into distributions and take the distribution closest to all of them.
Meaning. A high value indicates a node that ranks
highly on several centrality indexes at once. The score is the
normalised geometric mean of the indexes chosen with
re_indexes, and it sums to one over the nodes. A node that
scores zero on any one index scores zero overall.
Arguments. re_indexes,
re_negative, normalized
centrality_relative_entropy(student_interactions)DK-based gravity model
Degree, k-shell and the stage at which peeling reached the node act together as gravitational mass.
Meaning. A high value indicates a node of large mass
lying close to other nodes of large mass, where mass combines degree,
k-shell and how late in the peeling the node was removed. Only nodes
within dkgm_radius steps (default 2) contribute. The score
depends on the whole graph, so adding a component can change it.
Arguments. dkgm_radius,
normalized
centrality_dkgm(student_interactions)Mixed gravitational centrality
Core-number mass at the source interacts with degree mass at nearby nodes.
Meaning. A high value indicates a node deep in the
network’s core that lies close to many high-degree nodes: the node’s own
mass is its coreness and its partners’ mass is their degree. Only nodes
within gravity_radius steps (default 3) contribute; a
radius of 1 restricts the sum to neighbours.
Arguments. gravity_radius,
normalized
centrality_mixed_gravity(student_interactions)Extended mixed gravitational centrality
Sum immediate neighbors’ raw mixed gravitational scores.
Meaning. A high value indicates a node whose
neighbours have high mixed gravitational centrality. Because the radius
is measured from each neighbour, contributions can come from up to
gravity_radius + 1 steps away (default 3).
Arguments. gravity_radius,
normalized
centrality_extended_mixed_gravity(student_interactions)Localized bridging centrality
Brokerage in the one-hop ego network, adjusted for neighbor degrees.
Meaning. A high value indicates a node that brokers among its immediate neighbours and has few ties itself while its neighbours have many. The score is betweenness within the node’s one-step neighbourhood, multiplied by the bridging coefficient. Isolates and leaves score zero.
Arguments. normalized
centrality_localized_bridging(student_interactions)Extended local bridging centrality
Brokerage in the two-hop ego network, adjusted for neighbor degrees.
Meaning. A high value indicates a node that brokers within its two-step neighbourhood and has few ties itself while its neighbours have many. The score is betweenness within the subgraph of nodes up to two steps away, multiplied by the bridging coefficient.
Arguments. normalized
centrality_extended_local_bridging(student_interactions)Proximal betweenness
Brokerage at the first or last intermediate vertex of shortest paths.
Meaning. A high value indicates a node that often
lies on shortest paths directly next to one of the endpoints. By default
a node is counted as the last intermediary before the destination;
proximal_variant selects the first after the origin, or
both.
Arguments. proximal_variant,
normalized
centrality_proximal_betweenness(student_interactions)RCFB (resized current-flow betweenness)
Inject a unit of current at each node in turn, drain it through links of small conductance from every node to a virtual target, and credit the current of each edge to its end of higher potential.
Meaning. A high value indicates a node through which
current from many sources flows. Weights are conductances. The default
takes the limit of a vanishing conductance to the target; the network
may be disconnected. NA with a warning on a directed
network.
Arguments. rcfb_epsilon,
weighted, normalized
centrality_rcfb(to_undirected(student_interactions))Mapping entropy betweenness (MEB)
Weigh minus the sum of the logarithms of the neighbours’ normalised betweenness by the node’s own normalised betweenness.
Meaning. A high value indicates a node of high betweenness next to nodes of moderate betweenness. Neighbours of betweenness 0 are left out of the sum.
Arguments. normalized
centrality_mapping_entropy_betweenness(student_interactions)Betweenness Centrality
Betweenness centrality measures how often a node lies on shortest paths between other pairs of nodes.
Meaning. A high value is consistent with a bridge or brokerage position under the shortest-path model.
centrality_betweenness(student_interactions)Stress Centrality
Stress centrality counts shortest paths passing through a node without fractional normalization across tied paths.
Meaning. A high value indicates that many shortest paths include the node.
centrality_stress(student_interactions)Load Centrality
Load centrality distributes shortest-path load across alternative shortest routes: at each branch point a unit packet is split evenly among next hops on shortest paths.
Meaning. A high value indicates that a node carries a large share of geodesic routing load.
centrality_load(student_interactions)Length-scaled Betweenness
Length-scaled betweenness counts the same brokered pairs as betweenness but weights each pair by the reciprocal of its distance.
Meaning. A high value indicates brokerage between pairs that were already close, which ordinary betweenness treats the same as brokerage across the graph.
centrality_length_scaled_betweenness(student_interactions)Distance-decayed Betweenness
Distance-decayed betweenness discounts each brokered pair by a power of its distance, so the exponent tunes how local the measure is.
Meaning. A high value indicates brokerage concentrated among nearby pairs. At the measure is ordinary betweenness. Adjacent pairs have no intermediary, so the singularity at is avoided.
Arguments. betweenness_delta
centrality_delta_betweenness(student_interactions)Ego Betweenness
Ego betweenness is betweenness computed inside a node’s own ego network.
Meaning. A high value indicates a node that brokers among its own neighbours, which is what an egocentric survey can measure. A node with fewer than two neighbours scores 0.
centrality_ego_betweenness(student_interactions)Bottleneck Centrality
Bottleneck centrality counts cases where a node is critical in shortest-path tree structures.
Meaning. A high value indicates frequent bottleneck position in local shortest-path trees.
Arguments. mode
centrality_bottleneck(student_interactions)Bridging Centrality
Bridging centrality combines betweenness with a bridging coefficient.
Meaning. A high value indicates a possible bridge position between locally distinct areas.
centrality_bridging(student_interactions)Local bridging (legacy degree product)
Inverse focal degree multiplied by the bridging coefficient.
Meaning. Retains the original cograph degree-only score. The formula uses degrees only.
centrality_local_bridging(student_interactions)Percolation Centrality
Percolation centrality weights shortest-path brokerage by node states in a percolation process.
Meaning. A high value indicates state-dependent path importance under the supplied state vector .
Arguments. states
centrality_percolation(student_interactions)Flow Betweenness Centrality
Flow betweenness measures brokerage through maximum flows between pairs of nodes.
Meaning. A high value indicates importance for potential flow capacity between other nodes under the graph model.
centrality_flow_betweenness(student_interactions)Current-Flow Betweenness Centrality
Current-flow betweenness measures how much electrical current between node pairs passes through a node.
Meaning. A high value indicates an intermediary position under an all-path current-flow model.
centrality_current_flow_betweenness(student_interactions)Current-Flow Closeness Centrality
Current-flow closeness measures closeness with effective-resistance distances, treating the network as an electrical circuit.
Meaning. A high value indicates closeness under an all-path flow model. It generally requires connected graphs.
centrality_current_flow_closeness(student_interactions)Entropy Variation, Betweenness
Entropy variation of the betweenness distribution: the drop in its Shannon entropy when the node is removed.
Meaning. A high value indicates a node whose removal concentrates shortest-path traffic on fewer nodes. Betweenness is recomputed per removal.
centrality(student_interactions, measures = "entropy_variation_betweenness")Spectral, walk and influence
Trust-PageRank
Replace PageRank’s even split of a node’s score among its neighbours by a trust-value that mixes how similar the two nodes are with how large the receiver’s degree is.
Meaning. A high value indicates a node that receives
a large share of a PageRank-style flow in which each node passes more of
its score to neighbours that are similar to it and well connected.
tpr_k sets the balance between similarity and degree, and
tpr_alpha is the damping factor. A component without
triangles returns NA with a warning, because the similarity
is undefined there.
Arguments. tpr_alpha,
tpr_k, tpr_decay, tpr_tol,
tpr_max_iter, normalized
centrality_trust_pagerank(student_interactions)Iterative resource allocation (IRA)
Give every node one unit of resource, hand it repeatedly to neighbours in proportion to the receiver’s centrality, and read the steady state.
Meaning. A high value indicates a node that
accumulates resource when every node repeatedly passes its resource to
its neighbours in proportion to their centrality (ira_mass,
default coreness). The scores of a connected component sum to its number
of nodes. On a bipartite component with unequal sides the iteration
oscillates, and a warning is raised.
Arguments. ira_mass,
ira_alpha, ira_tol, ira_max_iter,
normalized
centrality_ira(student_interactions)Improved iterative resource allocation (IIRA)
The same resource iteration, with each node’s share scaled by how much of a spreading process it could actually carry.
Meaning. A high value indicates a node that
accumulates resource when resource is passed to neighbours in proportion
to their centrality and to their chance of being reached by a spreading
process at rate iira_beta. The resource decays over the
iira_steps iterations, so only the ranking is meaningful,
and only within a connected component.
Arguments. ira_mass,
iira_beta, iira_steps,
normalized
centrality_iira(student_interactions)Multi-characteristics gravity model
Combine degree, coreness and eigenvector features in distance-decaying node interactions.
Meaning. A high value indicates a node of large mass
lying close to other nodes of large mass, where mass combines degree,
coreness and eigenvector centrality, each scaled to its maximum.
mcgm_alpha sets the weight of coreness, and only nodes
within mcgm_radius steps (default 2) contribute.
Arguments. mcgm_radius,
mcgm_alpha, normalized
centrality_mcgm(student_interactions)SpectralRank
Outgoing influence after adding a ground node and optional node priors.
Meaning. A high value indicates a node with strong
outgoing influence, measured by the leading eigenvector of the network
augmented with a ground node linked to every node. sr_prior
adds optional prior information for each node; with the default of zero
the score is plain SpectralRank. Transpose the input to measure incoming
influence.
Arguments. sr_prior,
directed, weighted, simplify,
normalized
centrality_spectralrank(student_interactions)ControlRank
Smallest grounded eigenvalue after pinning each node in turn.
Meaning. A high value indicates a node whose grounding leaves the rest of the network most tightly coupled, as measured by the smallest eigenvalue of the Laplacian with that node removed. Disconnected undirected graphs score zero at every node.
Arguments. directed,
weighted, simplify,
normalized
centrality_controlrank(student_interactions)Node and Neighbor Layer Information
Propagate degree volume through a chosen number of neighbor steps.
Meaning. A high value indicates a node surrounded by
high-degree nodes. Degrees are first summed within a radius and then
propagated through ninl_order steps (default 3). With order
0 the score is the total degree of the node’s neighbourhood.
Arguments. ninl_order,
ninl_radius, normalized
centrality_ninl(student_interactions)Expected Force
Entropy of onward transmission opportunities after two infection events.
Meaning. A high value indicates a node from which an infection has many, and varied, ways to spread after its first two transmissions. The score is the entropy of these spreading opportunities.
Arguments. normalized
centrality_expected_force(student_interactions)Modified Expected Force
Expected Force adjusted for the seed degree.
Meaning. Expected force weighted by the logarithm of
the node’s degree, so that among nodes with similar spreading
opportunities the better-connected one scores higher.
exf_alpha (default 2, and greater than 1) scales the degree
inside the logarithm.
Arguments. exf_alpha,
normalized
centrality_modified_expected_force(student_interactions)Bridging capital
Loss of valued information walks after deleting each outgoing matrix entry.
Meaning. A high value indicates a node whose
outgoing ties carry many of the network’s valued information walks,
measured by the loss when each tie is removed in turn. Walks of up to
bridging_steps steps (default 2) are counted, and
bridging_values weights source-destination pairs. Edge
weights are read as transmission probabilities.
Arguments. bridging_steps,
bridging_values, weighted, loops,
simplify, normalized
centrality_bridging_capital(student_interactions, weighted = FALSE)LineRank
Stationary edge-state probabilities aggregated at original endpoints.
Meaning. A high value indicates a node whose ties
are visited often by a random walk that moves from tie to tie. Tie
probabilities are summed at their end nodes;
linerank_aggregation = "weight" also multiplies them by the
tie weights. damping is the usual random-walk damping
factor.
Arguments. damping,
linerank_aggregation, weighted,
loops, simplify, normalized
centrality_linerank(student_interactions)Random walk decay
Discounted first arrival at each node, summed over starting-node weights.
Meaning. A high value indicates a node that random
walks starting elsewhere reach early. Each first arrival is discounted
by rwd_decay (default 0.5) per step, and starting nodes can
be weighted with rwd_node_weights. A node’s own outgoing
ties cannot change its own score.
Arguments. rwd_decay,
rwd_node_weights, weighted,
loops, simplify, normalized
centrality_random_walk_decay(student_interactions)Graph regularization centrality
Reciprocal retention of a unit impulse under weighted Laplacian smoothing.
Meaning. A high value indicates a node whose signal
spreads quickly across the network under Laplacian smoothing, so that
little of it is retained at the node. grc_gamma (default 1)
sets the strength of smoothing. Scores range from 1 to the size of the
node’s component, and isolates score 1.
Arguments. grc_gamma,
weighted, normalized
centrality_graph_regularization(student_interactions)Adaptive LeaderRank
Stationary resource scores with every destination weighted by its original H-index and a ground node with H-index one.
Meaning. A high value indicates a node that attracts
a large share of a random resource flow in which each node sends more to
neighbours with a high H-index. alr_h_mode sets how
H-indices are computed on directed graphs.
Arguments. alr_h_mode,
normalized
centrality_adaptive_leaderrank(student_interactions)Weighted LeaderRank
Stationary resource scores with a ground node that distributes according to original in-degree powers.
Meaning. A high value indicates a node that attracts
a large share of a random resource flow in which a ground node, linked
to every node, sends more to nodes with high in-degree.
wlr_alpha sets how strongly in-degree is favoured; at zero
the measure is ordinary LeaderRank.
Arguments. wlr_alpha,
normalized
centrality_weighted_leaderrank(student_interactions)TOPSIS centrality
Rate every node on degree, closeness and a third measure, betweenness or eigenvector centrality, and score it by how near it comes to the best value of each and how far it stays from the worst.
Meaning. A high value indicates a node close to the
best observed value on all three measures at once; a node best on all
three scores 1 and a node worst on all three scores 0. The weights are
equal by default. It needs a connected network whose nodes are not all
alike; otherwise every node returns NA with a warning.
Arguments. topsis_attribute,
topsis_weights, normalized
centrality_topsis(student_interactions)All-around score
Divide the degree, the betweenness and the k-shell index each by its largest value, and take the length of the three together.
Meaning. A high value indicates a node that is high on degree, betweenness and k-shell index together. The score lies between 0 and the square root of 3.
Arguments. normalized
centrality_all_around(student_interactions)Multi-evidence centrality (MeC)
Turn four measures of a node, degree, betweenness, efficiency and correlation centrality, into degrees of belief that the node is important or not, and combine the four with Dempster’s rule.
Meaning. A positive value indicates a node the four measures together rate as important, a negative value one they rate as unimportant. The score lies between -1 and 1.
Arguments. evidence_omega,
coc_alpha, normalized
centrality_multi_evidence(student_interactions)Analytic Hierarchy Process (AHP) centrality
Take the share each node holds of the degree, the betweenness and the closeness of the network, discount each by the share of nodes where that measure is not zero, and add them with weights.
Meaning. A high value indicates a node that holds a
large share of the ties, the shortest paths and the closeness of the
network. The source’s weights come from a simulation whose printed
values cannot be regenerated; they are one third each by default.
NA with a warning on a disconnected network.
Arguments. ahp_weights,
normalized
centrality_ahp(student_interactions)Semi-local iterative algorithm (semi-IA)
Repeat an update in which each node collects the normalised scores of the nodes within a few steps, weighted by the number of shortest paths to them and divided by the distance, until it settles.
Meaning. A high value indicates a node close, by
many short paths, to other high-scoring nodes. The source prints the
update with the node’s own score in the sum, which collapses onto one
node; the neighbour’s score is used. NA with a warning on a
disconnected network.
Arguments. semi_ia_radius,
semi_ia_gamma, semi_ia_max_iter,
normalized
centrality_semi_ia(student_interactions)Synthesize centrality (SC)
Add the normalised degree and betweenness of a node and divide by its normalised sum of distances, with 1000 for a node it cannot reach.
Meaning. A high value indicates a well-connected broker close to the rest of the network. The Centrality Zoo’s squares and closeness denominator are not in the source.
Arguments. normalized
centrality_synthesize(student_interactions)Inward accessibility
Start a self-avoiding random walk at every other node, take the probabilities that each is at the node after a given number of steps, and turn their entropy into an effective number of origins.
Meaning. A high value indicates a node reached
evenly from many other nodes in the given number of steps.
ia_steps has no default; walks are enumerated exactly, so
the cost grows exponentially with it. A node no walk reaches scores 1/(N
- 1).
Arguments. ia_steps,
ia_stuck, enumeration_limit,
normalized
centrality_inward_accessibility(student_interactions, ia_steps = 2)PhysarumSpreader
Let a resource flow over the network through a ground node linked to every node, with the conductivity of each arc adapting to its flow as in the Physarum model, and take the resource a node holds after a given number of updates.
Meaning. A high value indicates a node that gathers
the flow. It uses direction and weights. physarum_steps has
no default, because the source gives no stopping rule and every score
tends to 1 as the updates go on; the source’s example prints the scores
after 52 updates.
Arguments. physarum_steps,
weighted, normalized
centrality_physarum_spreader(student_interactions, physarum_steps = 52)ArticleRank
A PageRank-style score for citation networks in which a citing node passes on its score in a share that falls with its number of references.
Meaning. A high value indicates a node cited by
highly ranked nodes with few references. It uses direction. The number
of references of each node is ar_references, the out-degree
by default. On a network with cycles the equation can diverge (here at
the default damping); the measure is then NA with a
warning, so the example uses damping = 0.25.
Arguments. ar_references,
damping, normalized
centrality_articlerank(student_interactions, damping = 0.25)Entropy-based gravity model
Combine node H-index, closeness, betweenness and PageRank into one mass per node with weights from their entropies over the nodes, and add the gravity between the node and the nodes within a few steps.
Meaning. A high value indicates a node with a large
combined mass close to other nodes of large mass. The source’s printed
equations contradict its text; the text is followed. NA
with a warning on a disconnected network or when an attribute is the
same at every node.
Arguments. entropy_gravity_radius,
damping, normalized
centrality_entropy_gravity(student_interactions)Node Resistance Curvature
A geometric descriptor based on electrical resistance, evaluated separately within each connected component.
Meaning. Low or negative values identify tree-like junctions that hold parts of the network together; higher values indicate nodes with redundant connections. Edge weights are read as conductances. The scores within each connected component sum to one.
Arguments. weighted,
simplify
centrality_resistance_curvature(student_interactions)Dynamics-Sensitive Centrality
A finite-time linearized spreading score with explicit spreading and recovery rates, on the simple undirected skeleton.
Meaning. Higher scores indicate more cumulative spreading activity in this approximation. Values can exceed the number of nodes. Defaults are beta=0.1, mu=1, T=5. Recovery mu=1 recovers finite diffusion; mu=0 selects the SI case. Isolates and horizon zero score zero; overflow raises an error.
Arguments. ds_beta, ds_mu,
ds_steps
centrality_dynamics_sensitive(student_interactions)Finite-Horizon Diffusion Centrality
Total weighted walks of lengths 1 through T starting at a node, allowing repeated visits and returns.
Meaning. High values indicate more weighted walk activity from the source. Probability interpretation requires entries of qA in [0,1]. Defaults q=1 and T=3 are cograph choices. Directed arcs carry information outwards. Overflow raises an error.
Arguments. diffusion_q,
diffusion_steps, weighted, loops,
simplify
centrality_diffusion_centrality(student_interactions)Dynamical Importance
Relative loss of adjacency spectral radius after removing the node, recomputed directly for each deletion.
Meaning. A high value indicates a node whose removal most reduces the network’s spectral radius, which governs how easily spreading processes take off. Each deletion is recomputed exactly.
Arguments. weighted,
simplify
centrality_dynamical_importance(student_interactions)Eigenvector Centrality
Eigenvector centrality gives high scores to nodes connected to other high-scored nodes.
Meaning. A high value indicates embeddedness in a central neighbourhood. Reading it as influence requires a relation that transmits influence.
centrality_eigenvector(student_interactions)PageRank Centrality
PageRank is a damped random-walk centrality. Nodes score highly when a random walker reaches them often.
Meaning. A high value indicates random-walk prominence under the chosen damping, direction, and weight conventions.
Arguments. damping,
personalized
centrality_pagerank(student_interactions)Authority Centrality
Authority centrality is part of HITS. Authorities are nodes pointed to by good hubs.
Meaning. A high value indicates incoming support from nodes that point to good authorities.
centrality_authority(student_interactions)Hub Centrality
Hub centrality is the HITS counterpart to authority. Hubs point to good authorities.
Meaning. A high value indicates outgoing ties to high-authority nodes.
centrality_hub(student_interactions)SALSA Centrality
SALSA is a stochastic link-analysis method related to HITS for directed graphs.
Meaning. A high value indicates directed authority under the SALSA random-walk model.
centrality_salsa(student_interactions)LeaderRank Centrality
LeaderRank is a PageRank-like directed ranking method that adds a ground node linked both ways to every node; the stationary random-walk mass on is then redistributed equally.
Meaning. A high value indicates directed prestige under the LeaderRank model.
centrality_leaderrank(student_interactions)Alpha Centrality
Alpha centrality is an eigenvector-like measure that includes exogenous input.
Meaning. A high value indicates recursive prominence under the chosen attenuation and exogenous assumptions.
Arguments. mode
centrality_alpha(student_interactions)Bonacich Power Centrality
Bonacich power centrality scores nodes using the centrality of their neighbours and a parameter $\\beta$ controlling dependence.
Meaning. A high value indicates a favourable recursive position under the selected Bonacich parameterization.
Arguments. mode
centrality_power(student_interactions)Katz Centrality
Katz centrality counts walks from all nodes to a focal node, attenuating longer walks.
Meaning. A high value indicates that many short and longer walks reach the node. The attenuation parameter must be valid for the graph.
Arguments. katz_alpha
centrality_katz(student_interactions)Hubbell Centrality
Hubbell centrality is an input-output centrality where status is recursively reinforced through ties.
Meaning. A high value indicates recursive prominence under the chosen weight factor. Some parameter settings make the system singular.
Arguments. hubbell_weight
centrality_hubbell(student_interactions)Subgraph Centrality
Subgraph centrality measures participation in closed walks, with shorter closed walks weighted more strongly.
Meaning. A high value indicates embeddedness in many closed walk structures.
centrality_subgraph(student_interactions)Laplacian Centrality
Laplacian centrality measures a node’s contribution to the graph’s Laplacian energy.
Meaning. A high value indicates a large local structural contribution under the Laplacian energy definition.
centrality_laplacian(student_interactions)Communicability Centrality
Communicability centrality uses the matrix exponential to summarise walk-based communication potential.
Meaning. A high value indicates many walk-based routes to other nodes, with shorter walks weighted more strongly.
centrality_communicability(student_interactions)Communicability Betweenness Centrality
Communicability betweenness measures walk-based communicability between other pairs through a node.
Meaning. A high value indicates a node that lies on many walks between other nodes. is computed with removed.
centrality_communicability_betweenness(student_interactions)Random Walk Centrality
Random walk centrality (Noh and Rieger 2004) is a node’s stationary probability over its relaxation time.
Meaning. A high value indicates a node that a random walker reaches quickly from anywhere in the network. is the stationary probability, the probability of being back at after steps and the mean first-passage time.
centrality_random_walk(student_interactions)Markov Centrality
Markov centrality is based on mean first-passage times in a Markov process on the graph.
Meaning. A high value indicates that the node is reached quickly on average under the Markov process.
centrality_markov(student_interactions)TOPSIS with relative entropy (TOPSIS-RE)
Rate every node on four indicators, degree, closeness, betweenness and how late it is peeled off the network, and score it by how near it comes to the best value of each and how far it stays from the worst.
Meaning. A high value indicates a node close to the
best observed value on all four indicators at once; a node best on all
four scores 1. The four weights (0.0625, 0.1875, 0.1875, 0.5625) are
fixed by the method. A node with any indicator at zero scores 0, which
covers every node with a single tie, whose betweenness is zero. It needs
a connected network whose nodes are not all alike; otherwise every node
returns NA with a warning.
centrality_topsis_re(student_interactions)Hybrid centrality
Rank the nodes on eight centralities, betweenness, closeness and eigenvector centrality with and without weights, degree and strength, and average the ranks.
Meaning. A high value indicates a node that is
central in every sense at once: on short paths, close to the others,
tied to central nodes, and well connected. The score is 1 for a node
first on all eight rankings and 0 for a node last on all of them. It
needs a connected undirected network; otherwise every node returns
NA with a warning.
Arguments. weighted
centrality_hybrid(student_interactions)Long-range interaction centrality (LRIC, maximal path)
Ask how much a node can sway each other node, directly when its tie is needed to tip that node’s incoming influence over a quota, and indirectly through the best chain of such ties.
Meaning. A high value indicates a node whose ties
are decisive for nodes that are themselves influential, directly or
through intermediaries. A tie counts fully when it alone meets the
target’s quota (lric_quota, default half of the incoming
weight) and not at all when it is never needed.
lric_path_length limits the length of chains (default: no
limit). Direction and weights are used.
Arguments. lric_quota,
lric_path_length, weighted,
enumeration_limit, normalized
centrality_lric_max(student_interactions)All cycle betweenness
Count the closed loops that pass through a node, a longer loop counting less.
Meaning. A high value indicates a node that lies on
many cycles, so that there are many alternative routes around it and
through it. Nodes of tree-like parts score zero.
cycle_alpha (default 0.5) sets how fast longer cycles lose
weight. Every simple cycle is enumerated, so the measure suits small or
sparse networks; past enumeration_limit search steps it
returns NA with a warning.
Arguments. cycle_alpha,
enumeration_limit, normalized
centrality_all_cycle_betweenness(student_interactions)Transportation centrality
Let the traffic between every two nodes spread over all routes that visit no node twice, shorter routes carrying more, and measure the share that passes through the node.
Meaning. A high value indicates a node that carries
a large share of traffic when travellers do not all take the shortest
route. transport_beta (default 0.1) sets how strongly
shorter routes are preferred: large values give shortest-path
betweenness, zero counts every route alike. Every simple path is
enumerated, so the measure suits small or sparse networks; past
enumeration_limit search steps it returns NA
with a warning.
Arguments. transport_beta,
enumeration_limit, normalized
centrality_transportation(student_interactions)Path-transfer centrality
Send a flow from the node that never visits a node twice and may stop at every step, and measure how unpredictable its resting place is.
Meaning. A high value indicates a node whose flow
can end up in many places with similar probability, a sign of a wide and
even reach. A node without outgoing ties scores zero. The value is in
bits. Every simple path is enumerated, so the measure suits small or
sparse networks; past enumeration_limit search steps it
returns NA with a warning.
Arguments. enumeration_limit,
normalized
centrality_path_transfer(student_interactions)Counting betweenness
Count how many times a random walker passes a node on its way from one node to its first arrival at another, on average over all pairs.
Meaning. A high value indicates a node that random
traffic between other nodes visits often, counting every visit,
including walks that go back and forth. Direction, weights and
self-loops are used, and a self-loop raises the score of its node. The
score is an expected number of visits and can exceed one. It needs the
nodes with both incoming and outgoing ties to be strongly connected;
otherwise every node returns NA with a warning.
Arguments. weighted,
normalized
centrality_counting_betweenness(student_interactions)Dynamical spanning tree (DST) centrality
Measure the share of the network’s spanning trees that disappears when the node is removed.
Meaning. A high value indicates a node that most of
the network’s tree-like backbones depend on. A node whose removal splits
the network scores 1 and a node with a single tie scores 0. The score
needs a connected network; otherwise every node returns NA
with a warning.
Arguments. normalized
centrality_dst(student_interactions)NWRank
Let nodes and links score each other: a node hands its score to its links, favouring links that lead to well-connected nodes and links that many shortest paths use, and each link hands its score back to its two ends.
Meaning. A high value indicates a node whose links
are important and lead to important nodes. nwrank_alpha
(default 0.5) balances the degree of the node at the far end of a link
against the betweenness of the link. Scores sum to one. The score needs
the nodes that have links to form one connected component; otherwise
every node returns NA with a warning.
Arguments. nwrank_alpha,
normalized
centrality_nwrank(student_interactions)Biased random walk centrality
Follow a walker that prefers to step to neighbours with many ties whose own contacts do not know each other, and that now and then jumps to a random node.
Meaning. A high value indicates a node the walker
visits often: one reached through well-connected neighbours whose
surroundings are open and not tightly knit. The value is the long-run
share of visits and sums to one. brw_alpha (default 0.5)
weighs the two preferences and brw_jump (default 0.15) is
the chance of a random jump.
Arguments. brw_alpha,
brw_jump, normalized
centrality_biased_random_walk(student_interactions)X-nonbacktracking centrality
Score a node by how much the largest nonbacktracking eigenvalue of the network, which governs how easily a contagion takes hold, is expected to fall when the node is removed.
Meaning. A high value indicates a node whose removal
would lower the network’s capacity to sustain spreading the most, which
makes it a target for immunisation. The eigenvector is computed on the
network without the node. The score is NA, with a warning,
where the network without the node has no principal nonbacktracking
eigenvector, for example when it is a tree.
Arguments. normalized
centrality_x_nonbacktracking(student_interactions)Total Effects Centrality (TEC)
Score a node by the share of the group’s final opinion that traces back to it, when every actor weighs its own view and its contacts’ views equally and the process runs to consensus.
Meaning. A high value indicates a node whose initial
position weighs most in the consensus the network settles on. Scores sum
to one. On an undirected network the score is the degree plus one,
divided by the total of that quantity. The score is defined only when
every node can reach every other; otherwise every node returns
NA with a warning.
Arguments. normalized
centrality_tec(student_interactions)Mediative Effects Centrality (MEC)
Score a node by how often influence travelling from one actor towards another passes through it on the way.
Meaning. A high value indicates a node that
transmits the effects of the others: a random-walk counterpart of
betweenness that counts every route, weighted by how likely it is, and
not only shortest paths. The score lies between 0 and 1, and a node that
all influence must pass through scores 1. It needs at least three nodes
and a network in which every node can reach every other; otherwise every
node returns NA with a warning.
Arguments. normalized
centrality_mec(student_interactions)Immediate Effects Centrality (IEC)
Score a node by how quickly everyone else’s influence reaches it, along a chain in which every actor also listens to itself.
Meaning. A high value indicates a node that the
influence of all other nodes reaches quickly, through short chains of
influence. The score is defined only when every node can reach every
other; otherwise every node returns NA with a warning.
Arguments. normalized
centrality_iec(student_interactions)Second-Order Centrality
Second-order centrality summarises variability in random-walk return times.
Meaning. The statistic describes the variability of a random walk’s return times to the node; lower values are more central.
centrality(student_interactions, measures = "second_order")Information Centrality
Information centrality measures centrality through resistance distance, the information carried by all paths between two nodes.
Meaning. A high value indicates a central position under the information-flow model.
centrality_information(student_interactions)Nonbacktracking Centrality
Nonbacktracking centrality scores nodes using walks that do not immediately return along the edge just traversed (the Hashimoto matrix ).
Meaning. A high value indicates walk-based prominence after reducing immediate backtracking inflation.
centrality(student_interactions, measures = "nonbacktracking")Diffusion Degree
The default method adds the scaled degree of the focal node and its neighbours. On a simple undirected graph:
Meaning. High values indicate local connectivity
through the node and its neighbours. With
diffusion_method = "power_series" (automatic for TNA
inputs), the function instead returns row sums of W + W^2 + … + W^n,
min-max scaled to the range from 0 to 1. That variant fixes the horizon
at n and ignores lambda and mode.
Arguments. mode, lambda,
diffusion_method
centrality_diffusion(student_interactions)Infection Centrality
Infection centrality estimates spreading potential through infection-style self-avoiding walks with attenuation.
Meaning. A high value indicates a favourable position under the assumed infection process. counts length- self-avoiding walks from .
centrality(student_interactions, measures = "infection")Edge Percolated Component
The edge percolated component averages the size of the component a node ends up in when edges survive at random.
Meaning. A high value indicates a node that stays
connected to a large share of the network under random link failure. The
value is a Monte Carlo estimate; set epc_seed to make it
reproducible.
Arguments. epc_threshold,
epc_runs, epc_seed
centrality_epc(student_interactions)VoteRank Centrality
VoteRank is an iterative voting algorithm for ranking spreader candidates: each round the highest-voted node is selected, its voting ability is zeroed, and its neighbours’ voting abilities are reduced.
Meaning. A high value indicates early selection by the VoteRank rule.
centrality_voterank(student_interactions)Expected Influence 1-Step
Expected influence 1-step sums signed edge weights adjacent to a node.
Meaning. A high positive value indicates strong positive immediate signed connectivity. This is mainly meaningful for signed networks.
Arguments. mode
centrality_expected_influence_1(student_interactions)Expected Influence 2-Step
Expected influence 2-step extends signed influence to one- and two-step paths.
Meaning. A high positive value indicates positive signed connectivity through direct and indirect paths. Interpretation requires a signed network.
Arguments. mode
centrality_expected_influence_2(student_interactions)Spanning Tree Centrality
Spanning tree centrality summarises a node’s contribution across spanning-tree structures via the Laplacian pseudoinverse .
Meaning. A high value indicates structural participation across many tree-like ways of connecting the graph.
centrality(student_interactions, measures = "spanning_tree")Shapley Value, Game 1
Shapley value of the node in the coalition game whose worth is the number of nodes a coalition covers within one hop.
Meaning. A high value indicates a node whose presence adds much one-hop coverage to a typical coalition. Values sum to .
centrality_shapley_game1(student_interactions)Shapley Value, Game 2
Shapley value in the game where a node is covered once at least coalition members are adjacent to it.
Meaning. A high value indicates a node that helps push many neighbours over the -neighbour threshold. With this is game 1.
Arguments. shapley_k
centrality_shapley_game2(student_interactions)Shapley Value, Game 3
Shapley value in the game where a coalition covers every node within a hop cutoff.
Meaning. A high value indicates a node that reaches many otherwise hard-to-reach nodes within the cutoff. With cutoff 1 this is game 1.
Arguments. shapley_cutoff
centrality_shapley_game3(student_interactions)Rumor Centrality
Rumor centrality counts the spreading orders that could have started at a node; on a general graph it is evaluated on the node’s breadth-first tree.
Meaning. A high value indicates a plausible origin of a spread, typically a node near the centre. Returned on the log scale.
centrality_rumor(student_interactions)DegreeDiscountIC
DegreeDiscountIC is the greedy seed-selection order under degree discounting for the independent-cascade model.
Meaning. A high score indicates an early selection: the first node selected scores 1, the last . Ties follow node order.
Arguments. discount_p
centrality_degree_discount(student_interactions)SingleDiscount
SingleDiscount is the greedy seed-selection order where each neighbour of a new seed discounts its degree by one.
Meaning. A high score indicates an early selection. Equivalent to repeatedly removing the highest-degree node.
centrality_single_discount(student_interactions)NCVoteRank
NCVoteRank is VoteRank with each voter’s ability weighted by its normalised neighbourhood coreness, and two-hop weakening after each election.
Meaning. A high score indicates an early election. With and two-hop weakening switched off, this is VoteRank.
Arguments. ncvote_theta
centrality_ncvoterank(student_interactions)WVoteRank
WVoteRank is VoteRank for weighted graphs: votes are weighted by edge weight and the score takes a square root.
Meaning. A high score indicates an early election. Neighbours of an elected node lose , with the average strength.
centrality_wvoterank(student_interactions)EnRenew
EnRenew elects the node whose neighbours supply the most entropy, then renews the entropies around it.
Meaning. A high score indicates an early election. Terms within the renewal radius are scaled by .
Arguments. enrenew_depth
centrality_enrenew(student_interactions)VoteRank++
VoteRank++ starts abilities from degree, splits votes in proportion to neighbour degree, and suppresses abilities multiplicatively after each election.
Meaning. A high score indicates an early election. Abilities are multiplied by one step away and two steps away.
Arguments. voterank_lambda
centrality_voterank_plus(student_interactions)Node Contraction
Node contraction importance measures how much the network’s cohesion rises when a node and its neighbours are merged into one.
Meaning. A high value indicates a node whose contraction shortens paths most.
centrality_node_contraction(student_interactions)Improved Node Contraction
Improved node contraction adds the contraction scores of a node’s edges, computed on the line graph.
Meaning. A high value indicates a node that is important both itself and through its edges. Values can exceed 1.
Arguments. contraction_rho
centrality_node_contraction_improved(student_interactions)Two-Way Random Walk Betweenness
Two-way random walk betweenness counts, over all node pairs, how often a node lies on the most likely two-step out-and-back route.
Meaning. A high count indicates a node on many dominant two-way routes. Cost grows as .
centrality_two_way_rw(student_interactions)Neighbourhood structure and cohesion
Degree and importance of lines (DIL)
Add to a node’s degree the share it can claim of the importance of the lines that touch it, where a line matters when its endpoints reach far beyond it and few triangles offer a way round.
Meaning. A high value indicates a node with many ties, several of them important: ties whose endpoints reach far beyond them and that few triangles bypass. The score is at least the node’s degree, and equals it in complete graphs and stars.
Arguments. normalized
centrality_dil(student_interactions)Lhc index
Score a node by how much degree, inflated by each contributor’s share of the network’s triangles, sits within a couple of steps of its neighbours.
Meaning. A high value indicates a node whose
surroundings, within lhc_radius steps (default 2), hold
many well-connected nodes that sit on many triangles. A node of modest
degree can therefore outscore a busier one if its neighbours are well
embedded. On a graph without triangles the index reduces to a
distance-discounted sum of degrees.
Arguments. lhc_radius,
normalized
centrality_lhc(student_interactions)Hybrid characteristic centrality (HCC)
Add a node’s blended local degree to how late a repeated minimum-degree peel gets round to removing it.
Meaning. A high value indicates a node that combines
a high degree, blended with its neighbours’ degrees, with a position
deep in the network, reached late when low-degree nodes are repeatedly
peeled away. hcc_delta (default 0.5) weights the node’s own
degree against its neighbours’. Scores range from 0 to 2.
Arguments. hcc_delta,
normalized
centrality_hcc(student_interactions)Extended hybrid characteristic centrality (EHCC)
Collect a node’s own hybrid characteristic score together with every neighbour’s.
Meaning. A high value indicates a node that, together with its neighbours, scores highly on hybrid characteristic centrality. It rewards nodes with well-connected, deeply embedded neighbours, whatever the node’s own position. An isolate scores its own hybrid characteristic centrality.
Arguments. hcc_delta,
normalized
centrality_ehcc(student_interactions)KED method
Weight the degree by how evenly a node’s neighbours carry its local paths, then by how many second-step paths there are.
Meaning. A high value indicates a node with many neighbours whose onward connections are numerous and evenly spread among them. Scores depend on the number of nodes in the whole graph, so only rankings are comparable across graphs of different size.
Arguments. normalized
centrality_ked(student_interactions)Local neighbor contribution (LNC)
Multiply what a node contributes on its own by what its neighbourhood contributes to it.
Meaning. A high value indicates a node with many neighbours that are themselves well connected. A node with a single neighbour scores its neighbour’s degree centrality. Scores depend on the number of nodes in the whole graph, so only rankings are comparable across graphs of different size.
Arguments. normalized
centrality_lnc(student_interactions)Neighborhood (neighbor distance) centrality
Add up a benchmark centrality over the non-backtracking walks that leave the node, discounted once per step.
Meaning. A high value indicates a node that reaches
many central nodes, by nd_mass (default degree), within a
few steps. Each step of distance is discounted by nd_decay
(default 0.2), up to nd_order steps (default 2). With
either set to zero, the score is the base centrality itself.
Arguments. nd_order,
nd_decay, nd_mass, normalized
centrality_neighbor_distance(student_interactions)Coleman-Theil hierarchy
Concentration of Burt’s dyadic constraints over a node’s contacts.
Meaning. A high value indicates that the constraint on a node is concentrated in a few of its contacts. Scores lie between 0 and 1; a node with one contact scores 1 and an isolate 0.
Arguments. weighted,
simplify, normalized
centrality_coleman_theil(student_interactions)RMD-weighted degree (WD)
Peel the network round by round, each round removing every node of lowest current degree. Add up, over a node’s neighbours, the round in which each neighbour is removed, as a share of the number of rounds.
Meaning. A high value indicates a node whose
neighbours are removed late, that is, neighbours deep inside the
network. The removal round is the index iksd returns.
Arguments. normalized
centrality_wd(student_interactions)Extended RMD-weighted degree (EWD)
Add up the RMD-weighted degree of a node’s neighbours, which carries
the score wd one step further out.
Meaning. A high value indicates a node whose neighbours themselves have deep neighbours. The node is counted once for each of its neighbours, as the worked value in the source requires.
Arguments. normalized
centrality_ewd(student_interactions)Modified local centrality (MLC)
Take the semi-local centrality of a node and subtract twice the sum of its neighbours’ degrees, the part of the score that the node and its neighbours contribute themselves.
Meaning. A high value indicates a node whose
surroundings reach many nodes beyond its own neighbourhood. It ranks
nodes almost as semilocal does, and it can be negative on a
small component.
Arguments. normalized
centrality_mlc(student_interactions)ProfitLeader
For each neighbour, multiply the degree mass a node holds apart from that neighbour by the Jaccard similarity of their closed neighbourhoods, and add the products up.
Meaning. A high value indicates a node with many well-connected neighbours of its own and much overlap with the neighbours it shares them with. The article is followed where it differs from the code its authors released.
Arguments. normalized
centrality_profitleader(student_interactions)Hierarchical k-shell (HKS)
Peel the network round by round and record for each node the round it leaves in and how close it lies to the nodes that leave last. Multiply the sum of the two by the degree, then add the result up over two steps.
Meaning. A high value indicates a node whose two-step surroundings are well connected and lie near the innermost part of the network.
Arguments. normalized
centrality_hks(student_interactions)Diversity-strength centrality (DSC)
Peel the network round by round, each round removing every node of lowest current degree. For a node, multiply three things: the mean removal round of its neighbours, the entropy of those rounds, and how much the neighbours’ own neighbourhoods differ in the rounds they hold.
Meaning. A high value indicates a node whose neighbours lie deep in the network, at varied depths, and reach different parts of it. A node with one neighbour scores 0, and so does a node whose neighbours all have the same mix of neighbours.
Arguments. normalized
centrality_dsc(student_interactions)Diversity-strength ranking (DSR)
Add up the diversity-strength centrality of a node’s neighbours.
Meaning. A high value indicates a node surrounded by
neighbours that score high on dsc.
Arguments. normalized
centrality_dsr(student_interactions)Extended diversity-strength ranking (EDSR)
Add up the diversity-strength ranking of a node’s neighbours, which reaches the nodes two steps away.
Meaning. A high value indicates a node whose
two-step surroundings score high on dsc. The node itself is
counted once for each of its neighbours, as the source prints the
sum.
Arguments. normalized
centrality_edsr(student_interactions)Local structural centrality (LSC)
For each neighbour of a node, count the nodes within two steps of the
neighbour and add up their clustering coefficients; mix the two by
lsc_alpha and sum over the neighbours.
Meaning. A high value indicates a node whose
neighbours have large and tightly knit surroundings. The default
lsc_alpha = 0.2 is the value the source fixes for its
experiments; its worked example uses 0.7.
Arguments. lsc_alpha,
normalized
centrality_lsc(student_interactions)Global and local structure (GLS)
For each other node, raise 1.1 to the number of neighbours it shares with the node, add these up over the whole network, and multiply by the squared degree over n - 1.
Meaning. A high value indicates a node with many ties that shares neighbours with many other nodes. The formula is the one the numbers of the source follow; its printed equations do not reproduce them.
Arguments. normalized
centrality_gls(student_interactions)K-shell iteration factor (KS-IF)
Refine the k-shell index of a node by the iteration in which it is removed within its shell, multiply by the degree, and add the result for the node and its neighbours.
Meaning. A high value indicates a well-connected node that is removed late within a deep shell and has such neighbours. No published value checks the implementation, because the illustration in the source is inconsistent.
Arguments. normalized
centrality_ks_if(student_interactions)NL centrality
For each neighbour of a node, add the number of nodes within two steps of the neighbour and the importance of the tie to it.
Meaning. A high value indicates a node whose
neighbours have large two-step surroundings and whose ties bridge
otherwise separate nodes. The first term carries most of the score; the
second is the tie term of dil.
Arguments. normalized
centrality_nl(student_interactions)K-shell hybrid method (ksh)
For every node within a few steps, add the square root of the two nodes’ summed k-shell indices and a share of the other node’s degree, and divide by the squared distance.
Meaning. A high value indicates a node close to many
deep or well-connected nodes. ksh_mu = 0.4 is the value of
the source’s worked example; its authors tune it per network.
Arguments. ksh_mu,
ksh_radius, normalized
centrality_ksh(student_interactions)Extended k-shell hybrid method (ESKH)
Add up the k-shell hybrid score of a node’s neighbours.
Meaning. A high value indicates a node whose neighbours themselves sit near many deep or well-connected nodes. The node’s own score is not added.
Arguments. ksh_mu,
ksh_radius, normalized
centrality_eskh(student_interactions)Improved k-shell hybrid method (IKH)
As the k-shell hybrid method, but with the square root of the product of the k-shell indices, and a degree weight that falls with the distance and sums to one over the levels.
Meaning. A high value indicates a node close to many
deep nodes and to well-connected nodes nearby. There is no free weight;
ksh_radius must be finite.
Arguments. ksh_radius,
normalized
centrality_ikh(student_interactions)Extended improved k-shell hybrid method (EIKH)
Add up the improved k-shell hybrid score of a node’s neighbours.
Meaning. A high value indicates a node whose neighbours themselves sit near many deep nodes. The node’s own score is not added.
Arguments. ksh_radius,
normalized
centrality_eikh(student_interactions)Mixed core, degree and entropy (MCDE)
Add the k-shell index of a node, its degree, and the entropy of the shells its neighbours lie in.
Meaning. A high value indicates a node deep in the network with many neighbours spread over several shells. The degree is the largest term, so the ranking is close to that of degree.
Arguments. normalized
centrality_mcde(student_interactions)Mixed core, degree and weighted entropy (MCDWE)
As MCDE, with each entropy term divided by the number of shells between it and the innermost shell, plus one.
Meaning. A high value indicates a node deep in the network with many neighbours spread over the inner shells.
Arguments. normalized
centrality_mcdwe(student_interactions)Mixed core, semi-local degree and entropy (MCSDE)
Rescale the k-shell index, the semi-local centrality and the shell entropy of the neighbours each to the range 0 to 1, and add them.
Meaning. A high value indicates a node deep in the network with a large two-step neighbourhood and neighbours in several shells. The score lies between 0 and 3.
Arguments. normalized
centrality_mcsde(student_interactions)Mixed core, semi-local degree and weighted entropy (MCSDWE)
As MCSDE, with the weighted entropy of MCDWE.
Meaning. A high value indicates a node deep in the network with a large two-step neighbourhood and neighbours in the inner shells. The score lies between 0 and 3.
Arguments. normalized
centrality_mcsdwe(student_interactions)Degree and clustering coefficient (DCC)
Add the degrees of a node and its neighbours, and the clustering coefficients of the nodes within two steps discounted by the node’s own, with weights from the entropy weight method.
Meaning. A high value indicates a node in a
well-connected and clustered neighbourhood. On a network without a
triangle the weights are undefined and the score is NA with
a warning. The entropy weights printed in the source’s worked example do
not follow from its network.
Arguments. normalized
centrality_dcc(student_interactions)Edge clustering coefficient centrality (NC)
For each tie of a node, divide the number of triangles on the tie by the largest number it could be in, and add these up.
Meaning. A high value indicates a node whose ties sit in many triangles. A tie to a node of degree one adds nothing.
Arguments. normalized
centrality_edge_clustering(student_interactions)Influence capability (IC)
Add a position term from the k-shell decomposition and the two-step sum of degrees, each divided by its total and weighted by their entropies.
Meaning. A high value indicates a node with many ties that is removed late in the k-shell decomposition, close to well-connected nodes. The entropy weights the source prints do not follow from its equations; its rankings do.
Arguments. normalized
centrality_influence_capability(student_interactions)Extended H-index centrality (EHC)
For each neighbour, count its neighbours of degree at least k for every k, weight the counts by a slowly falling factor, and add over the neighbours.
Meaning. A high value indicates a node whose
neighbours have many well-connected neighbours. With
ehc_p = 1 it is the sum of degrees over walks of two
steps.
Arguments. ehc_p, ehc_r,
normalized
centrality_ehc(student_interactions)Entropy-Based Ranking Measure (ERM)
Give each node the entropy of its neighbours’ degrees and of their degree sums, and add these over the walks of two steps from the node.
Meaning. A high value indicates a node two steps from nodes whose neighbours have varied, high degrees. The logarithm is natural.
Arguments. normalized
centrality_erm(student_interactions)Shell clustering coefficient
For each neighbour, add how little its spread over the hierarchies of the lowest-degree peeling agrees with the node’s own, and a term for its degree.
Meaning. A high value indicates a node with many high-degree neighbours placed differently in the network’s peeling order. A correlation that is 0/0 counts as 0.
Arguments. normalized
centrality_shell_clustering(student_interactions)Extended Cluster Coefficient Ranking Measure (ECRM)
Add the shell clustering coefficient over the walks of two steps from the node.
Meaning. A high value indicates a node two steps from many nodes of high shell clustering coefficient.
Arguments. normalized
centrality_ecrm(student_interactions)M-centrality
Mix the coreness of a node with how much its neighbours’ degrees differ from its own, by weights from the entropy of the two terms over the network.
Meaning. A high value indicates a deep node, or one whose neighbours’ degrees differ much from its own. On a regular network the weights are 0/0 and are taken as 1/2.
Arguments. normalized
centrality_m_centrality(student_interactions)Weighted k-shell degree neighborhood (Wksd)
Weight each edge by the product of a mix of degree and k-shell index at its two ends, and add the weights of the node’s edges.
Meaning. A high value indicates a deep,
well-connected node with deep, well-connected neighbours. Both weights
are required; the source tunes them per network. wksdn is a
parameter-free variant.
Arguments. wksd_alpha,
wksd_mu, normalized
centrality_wksd(student_interactions, wksd_alpha = 0.2, wksd_mu = 0.9)Maximal Clique Centrality
Sum of factorial contributions from maximal cliques containing the node, on the simple undirected skeleton.
Meaning. Larger cliques contribute much more than edges or triangles. Contained cliques are excluded. Isolates score 0 by explicit convention. Exponential enumeration is held back from the default all tier; raw-score overflow raises an error.
centrality_mcc(student_interactions)Node Truss Number
The largest truss number of an incident edge, on the simple undirected skeleton.
Meaning. Higher values indicate triangle-supported cohesion. Tree vertices score 2, a k-clique scores k, and isolates score 0.
centrality_truss(student_interactions)Mixed Degree Decomposition
Shell thresholds from residual degree plus attenuated exhausted degree.
Meaning. Higher means membership of a stronger mixed-degree shell. Lambda 0 gives coreness; lambda 1 gives degree. Default 0.7; scores can be fractional.
Arguments. mdd_lambda
centrality_mdd(student_interactions)Bridging Coefficient
The reciprocal-degree ratio before multiplication by betweenness.
Meaning. Higher values identify low-degree nodes adjacent to high-degree nodes. Isolates score 0. Uses the simple undirected skeleton.
centrality_bridging_coefficient(student_interactions)Godfather Index
The number of unconnected unordered pairs of a node’s neighbours.
Meaning. Higher values indicate more local brokerage opportunities. Here t_i counts focal triangles. Uses the simple undirected skeleton.
centrality_godfather(student_interactions)Supported Relationships
The number of neighbours sharing at least one common neighbour with the node.
Meaning. Higher values mean more triangle-supported relationships; a relationship counts once even if several common neighbours support it. Uses the simple undirected skeleton.
centrality_support(student_interactions)Transitivity Centrality
Transitivity measures local clustering: whether a node’s neighbours are connected to each other.
Meaning. A high value indicates locally closed neighbourhoods. This can represent cohesion or redundancy, depending on the relation.
Arguments. transitivity_type,
isolates
centrality_transitivity(student_interactions)Constraint Centrality
Constraint measures how redundant a node’s contacts are, following Burt’s structural holes framework.
Meaning. A high value indicates a locally constrained ego network. Lower constraint may indicate structural holes, depending on theory and relation type.
centrality_constraint(student_interactions)Effective Size Centrality
Effective size estimates the number of nonredundant contacts in a node’s ego network (Burt).
Meaning. A high value indicates relatively nonoverlapping contacts.
centrality_effective_size(student_interactions)Topological Coefficient Centrality
Topological coefficient centrality measures shared-neighbour overlap.
Meaning. A high value indicates neighbourhood overlap or topological similarity.
centrality_topological_coefficient(student_interactions)Diversity Centrality
Diversity centrality measures entropy in the distribution of edge weights around a node.
Meaning. A high value indicates that weighted ties are relatively evenly distributed.
centrality_diversity(student_interactions)Cross-Clique Centrality
Cross-clique centrality counts how many cliques contain a node.
Meaning. A high value indicates participation in many fully connected local groups.
centrality_cross_clique(student_interactions)Coreness Centrality
Coreness assigns nodes to k-core shells.
Meaning. A high value indicates membership in a dense core.
Arguments. mode
centrality_coreness(student_interactions)Onion Centrality
Onion centrality assigns nodes to layers from onion decomposition, a fine-grained extension of k-core decomposition.
Meaning. A high layer indicates that the node remains until later stages of the peeling process.
centrality(student_interactions, measures = "onion")K-Reach Centrality
K-reach centrality counts nodes reachable within path length .
Meaning. A high value indicates broad reach within a fixed local radius. Results depend on the chosen .
Arguments. mode, k
centrality_kreach(student_interactions)s-shell Index
The s-shell index peels the graph by node strength built from asymmetric topological link weights, generalising k-shell.
Meaning. A high shell index indicates a node deep in the strength-based core. With the shells are the dense ranks of k-core.
Arguments. s_shell_a
centrality_s_shell(student_interactions)Weighted k-shell
The weighted k-shell peels the graph by a generalised degree that mixes degree and strength.
Meaning. A high shell index indicates a node deep in the weighted core. Unit weights give the k-core number.
Arguments. wks_alpha,
wks_beta
centrality_weighted_kshell(student_interactions)Renewed Coreness
Renewed coreness is the k-core number after removing links that lead nowhere new.
Meaning. A high value indicates a core node whose links reach beyond shared neighbourhoods. An isolated clique scores 0.
Arguments. renewed_threshold
centrality_renewed_coreness(student_interactions)s-core Index
The s-core index is the weighted k-core: the largest strength threshold whose core still contains the node.
Meaning. A high value indicates a node deep in the strength-based core. Unit weights give the k-core number exactly.
centrality_s_core(student_interactions)Local Efficiency
Local efficiency is how well a node’s neighbours still communicate once the node itself is gone, using only the links among them.
Meaning. A high value indicates a fault-tolerant
neighbourhood; a node whose neighbours are mutually unconnected scores
0. Note that igraph::local_efficiency() measures those
distances through the rest of the network instead, so it reports larger
values.
Arguments. mode
centrality_local_efficiency(student_interactions)Directed prestige and hierarchy
BG-index (beta power)
Expected number of times a node is selected as a predecessor.
Meaning. A high value indicates a node that is the
sole predecessor, or one of few, of many others: each node divides one
unit equally among the nodes that point to it. The default credits
senders; beta_direction = "negative" credits receivers. The
two coincide on undirected graphs.
Arguments. beta_direction,
normalized
centrality_beta_measure(student_interactions)Prestige Domain Centrality
Prestige domain centrality counts how many nodes can reach a focal node in a directed graph.
Meaning. A high value indicates a large incoming reach domain.
centrality_prestige_domain(student_interactions)Prestige Domain Proximity Centrality
Prestige domain proximity measures how close nodes in the prestige domain are to the focal node.
Meaning. A high value indicates that many predecessors can reach the node through short directed paths.
centrality_prestige_domain_proximity(student_interactions)Local Reaching Centrality
Local reaching centrality measures how much of the network is reachable from a node through directed paths.
Meaning. A high value indicates broad directed reach from the node.
Arguments. mode
centrality_reaching_local(student_interactions)Pairwise Disconnectivity Centrality
Pairwise disconnectivity measures how directed reachability between pairs changes when a node is removed.
Meaning. A high value indicates structural importance for preserving directed reachability.
centrality_pairwisedis(student_interactions)Trophic Level Centrality
Trophic level estimates hierarchical position in a directed flow network.
Meaning. A higher value indicates a higher position in the inferred directed hierarchy. This is appropriate only for flow-like relations.
centrality(student_interactions, measures = "trophic_level")The measures below need a community membership
vector, one community per node. communities()
detects the partition (walktrap works on the directed
student_interactions graph), membership()
returns it as a named vector, and that vector is passed as
membership =:
groups <- membership(communities(student_interactions, method = "walktrap"))
centrality_participation(student_interactions, membership = groups)
#> Ac Ad Fi Ik Vx Rt Km Gj
#> 0.6078972 0.5450000 0.4965278 0.5612245 0.6213018 0.5150000 0.4628099 0.5540166
#> Bd Ce Oq Ya Mo Hj Tv Eg
#> 0.4861111 0.4600000 0.4897959 0.4733728 0.5416667 0.6250000 0.5400000 0.5400000
#> Pr Qs Xz Np Dg Hk Wy Jl
#> 0.4297521 0.5244444 0.4897959 0.4687500 0.5562130 0.6015625 0.6446281 0.4177778
#> Fh Zb Eh Be Df Cf Su Ln
#> 0.5396825 0.6938776 0.6938776 0.6020408 0.3750000 0.6805556 0.4444444 0.4081633
#> Gi Uw
#> 0.6666667 0.6250000Community and group-based
Map equation centrality
Bits saved by redesigning a fixed module’s codebook after silencing a node.
Meaning. A high value indicates a node whose flow
matters to the description of its module: removing it saves many bits in
the module’s codebook. The partition is supplied through
membership (one module when NULL) and held
fixed. map_convention sets whether module-exit flow is
included, and the conventions can rank nodes differently.
Arguments. membership,
map_flow, map_convention,
damping, weighted, simplify,
normalized
centrality_map_equation(student_interactions)Participation Coefficient
Participation coefficient measures how evenly a node’s ties are distributed across communities.
Meaning. A high value indicates ties spread across multiple communities. It requires a meaningful membership vector.
Arguments. membership,
mode
centrality_participation(student_interactions, membership = groups)Within-Module Z Centrality
Within-module z centrality standardises a node’s within-community degree against other nodes in the same community.
Meaning. A high value indicates unusually high within-module connectivity.
Arguments. membership,
mode
centrality_within_module_z(student_interactions, membership = groups)Gateway Centrality
Gateway centrality measures inter-community brokerage weighted by centrality of communities or nodes involved.
Meaning. A high value indicates a structurally prominent position between communities.
Arguments. membership,
mode
centrality_gateway(student_interactions, membership = groups)Brokerage Coordinator Centrality
Coordinator brokerage occurs when a node mediates between two nodes in its own group. It counts open directed two-paths $a \\to v \\to c$ (with no direct $a \\to c$).
Meaning. A high value indicates within-group mediation under the supplied membership vector.
Arguments. membership
centrality_brokerage_coordinator(student_interactions, membership = groups)Brokerage Itinerant Centrality
Itinerant brokerage occurs when a node mediates between two nodes in another group.
Meaning. A high value indicates brokerage among members outside the node’s own group.
Arguments. membership
centrality_brokerage_itinerant(student_interactions, membership = groups)Brokerage Representative Centrality
Representative brokerage occurs when a node mediates from its own group to another group.
Meaning. A high value indicates outward brokerage from the node’s group.
Arguments. membership
centrality_brokerage_representative(student_interactions, membership = groups)Brokerage Gatekeeper Centrality
Gatekeeper brokerage occurs when a node mediates from another group into its own group.
Meaning. A high value indicates inward brokerage into the node’s group.
Arguments. membership
centrality_brokerage_gatekeeper(student_interactions, membership = groups)Brokerage Liaison Centrality
Liaison brokerage occurs when a node mediates between two groups, both different from its own.
Meaning. A high value indicates between-group brokerage outside the node’s own group.
Arguments. membership
centrality_brokerage_liaison(student_interactions, membership = groups)Modularity Vitality
Modularity vitality is the drop in Newman modularity when a node is deleted and the remaining nodes keep their communities.
Meaning. A positive value indicates a community hub; a negative value indicates a bridge whose removal sharpens the partition. Weighted and directed graphs use the corresponding modularity.
Arguments. membership
centrality_modularity_vitality(student_interactions, membership = groups)Community Hub-Bridge
Community hub-bridge scores nodes that are hubs inside their community and bridges between communities.
Meaning. A high value indicates a node with many intra-community links in a large community and links into several other communities.
Arguments. membership,
mode
centrality_community_hub_bridge(student_interactions, membership = groups)Community-Based Centrality
Community-based centrality weights every link of a node by the size of the community it lands in.
Meaning. A high value indicates many links into large communities.
Arguments. membership,
mode
centrality_community_based(student_interactions, membership = groups)Comm Centrality
Comm centrality combines a node’s scaled intra-community degree with the square of its scaled inter-community degree, weighted by how outward-looking its community is.
Meaning. A high value indicates a node that is central within its community and well linked outside it. defaults to the community’s maximum intra-degree.
Arguments. membership,
mode, comm_r
centrality_comm_centrality(student_interactions, membership = groups)Community-Based Mediator
The community-based mediator score is the entropy of a node’s link distribution over communities times its share of total degree.
Meaning. A high value indicates a well-connected node whose links are spread over several communities; nodes linked to one community score 0.
Arguments. membership,
mode
centrality_community_mediator(student_interactions, membership = groups)Argument catalogue
All measures are reachable through the single
centrality() verb. These arguments control how they are
computed. Measure-specific knobs are repeated in each measure’s
Arguments line.
| Argument | Default | Affects | What it does |
|---|---|---|---|
type |
"basic" |
all | Curated tier: "basic", "extended", or
"all" (ordinary-cost measures). |
include |
NULL |
all | Add named measures, or "costly" for every costly
measure. |
map_flow |
"unrecorded" |
Map equation | Unrecorded link teleportation, or "recorded" uniform
node teleportation. |
map_convention |
"paper" |
Map equation | Include module exits as in eq11, or "infomap" to
reproduce its implementation and Table1. |
ninl_order |
3 |
NINL | Nonnegative iteration count; zero returns initial degree volume. |
sr_prior |
0 |
SpectralRank | Nonnegative scalar or node vector; zero gives ordinary SR and nonzero values give diagonal-prior WSR. Ground prior stays zero. |
ninl_radius |
NULL |
NINL | Automatic ceiling of mean path length, or explicit nonnegative
integer/Inf. Disconnected automatic radius is infinite;
only reachable nodes contribute. |
beta_direction |
"positive" |
BG-index / beta power | Positive credits predecessors; negative reverses the graph and credits destinations. |
mdd_lambda |
0.7 |
MDD | Weight assigned to exhausted degree, between 0 and 1. |
volume_radius |
2 |
Volume | Closed hop neighbourhood; nonnegative integer or
Inf. |
diffusion_q |
1 |
Finite-horizon diffusion | Walk multiplier in [0, 1]. |
diffusion_steps |
3 |
Finite-horizon diffusion | Nonnegative integer horizon; independent of the TNA method. |
ds_beta |
0.1 |
Dynamics-sensitive | Spreading rate between zero and one. |
ds_mu |
1 |
Dynamics-sensitive | Recovery rate between zero and one; zero selects SI. |
ds_steps |
5 |
Dynamics-sensitive | Nonnegative integer time horizon. |
measures |
NULL |
all | Character vector of specific measures to compute (overrides
type). |
mode |
"all" |
directed measures | Traversal direction: "all", "in", or
"out". |
normalized |
FALSE |
most | Divide each score by its maximum. |
weighted |
TRUE |
weighted measures | Use edge weights when present. |
directed |
NULL |
all | Force directed/undirected; NULL auto-detects. |
loops |
TRUE |
degree, strength | Keep self-loops. |
simplify |
"sum" |
multigraphs | How to combine parallel edges. |
cutoff |
-1 |
path-based | Cap path length (-1 = no cap). |
invert_weights |
NULL |
distance/path | Treat weights as distances vs. strengths. |
alpha |
1 |
weight transform | Exponent applied when invert_weights = TRUE. |
damping |
0.85 |
PageRank | Random-walk damping factor. |
personalized |
NULL |
PageRank | Personalization vector. |
transitivity_type |
"local" |
transitivity |
"local", "global", or weighted
variants. |
isolates |
"nan" |
transitivity | How isolates are scored. |
lambda |
1 |
diffusion | Diffusion scaling factor. |
k |
3 |
k-reach | Path-length radius. |
states |
NULL |
percolation | Per-node percolation state vector. |
decay_parameter |
0.5 |
decay, generalized closeness | Distance-decay base. |
dmnc_epsilon |
1.7 |
DMNC | Density exponent. |
katz_alpha |
0.1 |
Katz | Attenuation factor. |
hubbell_weight |
0.5 |
Hubbell | Weight factor . |
membership |
NULL |
group-based | Community assignment vector. |
digits |
NULL |
all | Round numeric columns. |
sort_by |
NULL |
all | Order rows by a column name. |