% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nct.R
\name{summary.net_nct}
\alias{summary.net_nct}
\title{Summary Method for net_nct}
\usage{
\method{summary}{net_nct}(object, ...)
}
\arguments{
\item{object}{A \code{net_nct} object.}

\item{...}{Ignored.}
}
\value{
A data frame with columns \code{from}, \code{to},
\code{diff_observed}, \code{p_value}, \code{significant}. Attributes
\code{m_stat} and \code{s_stat} each hold a one-row data frame with
\code{observed} and \code{p_value}.
}
\description{
Returns a tidy data frame with one row per edge test. The global M
(strength) and S (structure) statistics are attached as attributes.
}
\examples{
\dontrun{
set.seed(1)
x1 <- matrix(rnorm(200 * 5), 200, 5)
x2 <- matrix(rnorm(200 * 5), 200, 5)
colnames(x1) <- colnames(x2) <- paste0("V", 1:5)
res <- nct(x1, x2, iter = 100)
res$M$p_value
res$S$p_value
}
}
