Skip to contents

Summarizes the document-level hub roles of sniff_groups_hubs() (the Guimera–Amaral within-module z-score Zi and participation coefficient Pi) over the documents of every sniff_trajectory_braid() trajectory. Provincial hubs (low Pi) keep a lineage self-contained, consistent with convergence / paradigmatic homogeneity; connector and boundary-spanning hubs (high Pi) bridge across groups, consistent with divergence / branching.

Usage

sniff_trajectory_hubs(flow, hubs)

Arguments

flow

A sniff_trajectory_braid() object.

hubs

A sniff_groups_hubs() tibble: a document-id column (name, as returned, or SR), plus Zi, Pi, zone (zone one of "noHub", "R5", "R6", "R7"). Documents are matched to a trajectory by that id against the trajectory's node documents.

Value

A tibble, one row per trajectory: traj_id, type, group, n_docs (documents of the trajectory), mean_Zi, mean_Pi, hub_share (share that are hubs), connector_share (share that are connector/boundary hubs R6/R7, the bridging signal), provincial_share (share that are provincial hubs R5).