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

\item{...}{Additional arguments passed to \code{\link{centrality}}.}
}
\value{
Named numeric vector of diversity centrality values.
}
\description{
Shannon entropy of the edge weight distribution per node. Measures
how evenly a node distributes its connections.
}
\examples{
mat <- matrix(c(0, .5, .3, .5, 0, .8, .3, .8, 0), 3, 3)
rownames(mat) <- colnames(mat) <- c("A", "B", "C")
centrality_diversity(mat)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once.
}
