Skip to contents

Itinerant brokerage (w_O): count of open directed 2-paths \(A \to V \to A\) where the two endpoints are in the same group but the broker \(V\) is in a different group. The broker mediates within another group as an outsider.

Usage

centrality_brokerage_itinerant(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 itinerant role counts.

Details

Bit-exact match against sna::brokerage$raw.nli[, "w_O"]. 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_itinerant(adj, membership = c(1, 1, 2, 2))
#> A B C D 
#> 1 0 0 1