% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hypa.R
\name{summary.net_hypa}
\alias{summary.net_hypa}
\title{Summary Method for net_hypa}
\usage{
\method{summary}{net_hypa}(
  object,
  n = 10L,
  type = c("all", "over", "under"),
  order_by = c("sig", "freq", "frequency", "ratio", "path"),
  ...
)
}
\arguments{
\item{object}{A \code{net_hypa} object.}

\item{n}{Integer. Maximum number of paths to display per category
(default: 10).}

\item{type}{Character. Which anomalies to show: \code{"all"} (default),
\code{"over"}, or \code{"under"}.}

\item{order_by}{Character. Ranking used within each anomaly direction:
\code{"sig"} ranks by the active tail probability, \code{"freq"} by
observed count, \code{"ratio"} by observed/expected ratio, and
\code{"path"} alphabetically.}

\item{...}{Additional arguments (ignored).}
}
\value{
A data frame with path, observed, expected, ratio, p_tail, and
direction columns.
}
\description{
Summary Method for net_hypa
}
\examples{
seqs <- list(c("A","B","C"), c("B","C","A"), c("A","C","B"), c("A","B","C"))
hyp <- build_hypa(seqs, k = 2)
summary(hyp)

\donttest{
seqs <- data.frame(
  V1 = c("A","B","C","A","B","C","A","B","C","A"),
  V2 = c("B","C","A","B","C","A","B","C","A","B"),
  V3 = c("C","A","B","C","A","B","C","A","B","C"),
  V4 = c("A","B","C","A","B","C","A","B","C","A")
)
hypa <- build_hypa(seqs, k = 2L)
summary(hypa)
summary(hypa, type = "over", n = 5)
}

}
