% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/network-summary.R
\name{network_small_world}
\alias{network_small_world}
\title{Small-World Coefficient (Sigma)}
\usage{
network_small_world(x, n_random = 10, ...)
}
\arguments{
\item{x}{Network input: matrix, igraph, network, cograph_network, or tna object}

\item{n_random}{Number of random graphs for comparison. Default 10.}

\item{...}{Additional arguments passed to \code{\link{to_igraph}}}
}
\value{
Numeric: small-world coefficient sigma
}
\description{
Computes the small-world coefficient sigma, defined as:
sigma = (C / C_rand) / (L / L_rand)
where C is clustering coefficient, L is mean path length, and _rand
are values from equivalent random graphs.
}
\details{
Values > 1 indicate small-world properties. Typically small-world
networks have sigma >> 1.
}
\examples{
# Watts-Strogatz small-world graph
if (requireNamespace("igraph", quietly = TRUE)) {
  g <- igraph::sample_smallworld(1, 20, 3, 0.1)
  network_small_world(g)  # Should be > 1
}
}
