% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_strength}
\alias{centrality_strength}
\alias{centrality_instrength}
\alias{centrality_outstrength}
\title{Strength Centrality (Weighted Degree)}
\usage{
centrality_strength(x, mode = "all", ...)

centrality_instrength(x, ...)

centrality_outstrength(x, ...)
}
\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 strength values.
}
\description{
Sum of edge weights connected to each node. For directed networks,
\code{centrality_instrength} sums incoming weights and
\code{centrality_outstrength} sums outgoing weights.
}
\examples{
mat <- matrix(c(0, .5, .3, .5, 0, .8, .3, .8, 0), 3, 3)
rownames(mat) <- colnames(mat) <- c("A", "B", "C")
centrality_strength(mat)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once,
\code{\link{centrality_degree}} for the unweighted version.
}
