% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_leverage}
\alias{centrality_leverage}
\title{Leverage Centrality}
\usage{
centrality_leverage(x, mode = "all", ...)
}
\arguments{
\item{x}{Network input (matrix, igraph, network, cograph_network, tna object).}

\item{mode}{For directed networks: \code{"all"} (default), \code{"in"}, or
\code{"out"}.}

\item{...}{Additional arguments passed to \code{\link{centrality}} (e.g.,
\code{normalized}, \code{weighted}, \code{directed}).}
}
\value{
Named numeric vector of leverage centrality values (range -1 to 1).
}
\description{
Measures a node's influence over its neighbors based on relative degree
differences. Positive values indicate the node has more connections than
its average neighbor.
}
\examples{
adj <- matrix(c(0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0), 4, 4)
rownames(adj) <- colnames(adj) <- c("A", "B", "C", "D")
centrality_leverage(adj)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once.
}
