% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/network-summary.R
\name{network_radius}
\alias{network_radius}
\title{Network Radius}
\usage{
network_radius(x, directed = NULL, ...)
}
\arguments{
\item{x}{Network input: matrix, igraph, network, cograph_network, or tna object}

\item{directed}{Logical. Consider edge direction? Default TRUE for directed graphs.}

\item{...}{Additional arguments passed to \code{\link{to_igraph}}}
}
\value{
Numeric: the network radius
}
\description{
Computes the radius of a network - the minimum eccentricity across all nodes.
The eccentricity of a node is the maximum shortest path distance to any other node.
The radius is the smallest such maximum distance.
}
\examples{
# Star graph: center has eccentricity 1, leaves have 2, so radius = 1
star <- matrix(c(0,1,1,1, 1,0,0,0, 1,0,0,0, 1,0,0,0), 4, 4)
network_radius(star)  # 1
}
