% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_brokerage_coordinator}
\alias{centrality_brokerage_coordinator}
\title{Gould-Fernandez Brokerage — Coordinator Role}
\usage{
centrality_brokerage_coordinator(x, membership = NULL, ...)
}
\arguments{
\item{x}{Directed network input (matrix, igraph, cograph_network, tna object).}

\item{membership}{Integer or character vector of group assignments, length
equal to the number of nodes. Required.}

\item{...}{Additional arguments passed to \code{\link{centrality}}.}
}
\value{
Named integer vector of coordinator role counts.
}
\description{
Coordinator brokerage (w_I): count of open directed 2-paths
\eqn{A \to V \to A} passing through node \eqn{V}, where all three nodes
belong to \eqn{V}'s group. The broker mediates contact between two
in-group members.
}
\details{
Bit-exact match against \code{sna::brokerage$raw.nli[, "w_I"]}. Counts
OPEN 2-paths only — those where no direct edge from \code{a} to \code{c}
exists. Directed-only; returns \code{NA} with a warning on undirected input.
}
\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_coordinator(adj, membership = c(1, 1, 2, 2))
}
\references{
Gould, R. V., & Fernandez, R. M. (1989). Structures of mediation: A
formal approach to brokerage in transaction networks.
\emph{Sociological Methodology}, 19, 89-126.
}
\seealso{
\code{\link{centrality}},
\code{\link{centrality_brokerage_itinerant}},
\code{\link{centrality_brokerage_representative}},
\code{\link{centrality_brokerage_gatekeeper}},
\code{\link{centrality_brokerage_liaison}}.
}
