% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/centrality.R
\name{centrality_authority}
\alias{centrality_authority}
\alias{centrality_hub}
\title{HITS Authority and Hub Scores}
\usage{
centrality_authority(x, ...)

centrality_hub(x, ...)
}
\arguments{
\item{x}{Network input (matrix, igraph, network, cograph_network, tna object).}

\item{...}{Additional arguments passed to \code{\link{centrality}} (e.g.,
\code{weighted}, \code{directed}).}
}
\value{
Named numeric vector of authority or hub scores.
}
\description{
Kleinberg's HITS algorithm. \code{centrality_authority} scores nodes
pointed to by good hubs. \code{centrality_hub} scores nodes that point
to good authorities.
}
\examples{
adj <- matrix(c(0, 1, 0, 0, 0, 1, 1, 1, 0), 3, 3)
rownames(adj) <- colnames(adj) <- c("A", "B", "C")
centrality_authority(adj)
centrality_hub(adj)
}
\seealso{
\code{\link{centrality}} for computing multiple measures at once.
}
