% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_eccentricity}
\alias{centrality_eccentricity}
\alias{centrality_ineccentricity}
\alias{centrality_outeccentricity}
\title{Eccentricity}
\usage{
centrality_eccentricity(x, mode = "all", ...)

centrality_ineccentricity(x, ...)

centrality_outeccentricity(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 eccentricity values.
}
\description{
Maximum shortest path distance from a node to any other node.
For directed networks, \code{centrality_ineccentricity} and
\code{centrality_outeccentricity} use incoming and outgoing paths.
}
\examples{
adj <- matrix(c(0, 1, 0, 1, 0, 1, 0, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_eccentricity(adj)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once.
}
