Skip to contents

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.

Value

Named integer vector of gatekeeper role counts.

Details

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

References

Gould & Fernandez (1989).

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))
#> A B C D 
#> 1 0 1 0