% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{summary.bdeb_diagnostics}
\alias{summary.bdeb_diagnostics}
\title{Compact Summary of a BDEB Diagnostics Report}
\usage{
\method{summary}{bdeb_diagnostics}(object, ...)
}
\arguments{
\item{object}{A \code{bdeb_diagnostics} object.}

\item{...}{Unused.}
}
\value{
An object of class \code{summary.bdeb_diagnostics} (a list).
}
\description{
Returns counts of problematic parameters (divergences, treedepth
saturations, low-EBFMI chains, R-hat > 1.01, ESS-bulk < 400) suitable
for a one-line health check or programmatic gating.
}
\examples{
\donttest{
if (requireNamespace("cmdstanr", quietly = TRUE) &&
    nzchar(tryCatch(cmdstanr::cmdstan_path(), error = function(e) ""))) {
  data(eisenia_growth)
  dat <- bdeb_data(growth = eisenia_growth[eisenia_growth$id == 1, ])
  fit <- bdeb_fit(bdeb_model(dat, type = "individual"),
                  chains = 2, iter_warmup = 200, iter_sampling = 200,
                  refresh = 0)
  summary(bdeb_diagnose(fit))
}
}
}
