% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simplicial.R
\name{q_analysis}
\alias{q_analysis}
\title{Q-Analysis}
\usage{
q_analysis(sc)
}
\arguments{
\item{sc}{A \code{simplicial_complex} object.}
}
\value{
A \code{q_analysis} object with \code{$q_vector},
\code{$structure_vector}, and \code{$max_q}.
}
\description{
Computes Q-connectivity structure (Atkin 1974). Two maximal simplices
are q-connected if they share a face of dimension \eqn{\geq q}. Reports:
\itemize{
\item \strong{Q-vector}: number of connected components at each q-level
\item \strong{Structure vector}: highest simplex dimension per node
}
}
\examples{
mat <- matrix(c(0,.6,.5,.6,0,.4,.5,.4,0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A","B","C")
sc <- build_simplicial(mat, threshold = 0.3)
q_analysis(sc)

}
\references{
Atkin, R. H. (1974). \emph{Mathematical Structure in Human Affairs}.
}
