centrality_brokerage_gatekeeper: Gould-Fernandez Brokerage — Gatekeeper Role

View source: R/centrality.R

centrality_brokerage_gatekeeperR Documentation

Gould-Fernandez Brokerage — Gatekeeper Role

Description

Gatekeeper brokerage (b_OI): count of open directed 2-paths A \to V \to B where V and B are in the same group and A is in a different group. The broker acts as a gate letting in-group members receive contact from outside.

Usage

centrality_brokerage_gatekeeper(x, membership = NULL, ...)

Arguments

x

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

membership

Integer or character vector of group assignments, length equal to the number of nodes. Required.

...

Additional arguments passed to centrality.

Details

Bit-exact match against sna::brokerage$raw.nli[, "b_OI"]. Directed-only.

Value

Named integer vector of gatekeeper role counts.

References

Gould & Fernandez (1989).

See Also

centrality_brokerage_coordinator.

Examples

adj <- matrix(c(0,1,1,0, 0,0,1,1, 0,0,0,1, 1,0,0,0), 4, 4, byrow = TRUE)
rownames(adj) <- colnames(adj) <- c("A", "B", "C", "D")
centrality_brokerage_gatekeeper(adj, membership = c(1, 1, 2, 2))

cograph documentation built on May 31, 2026, 5:06 p.m.