% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{bdeb_summary}
\alias{bdeb_summary}
\title{Posterior Summary for BDEB Parameters (deprecated)}
\usage{
bdeb_summary(fit, pars = NULL, prob = 0.9, ...)
}
\arguments{
\item{fit}{A \code{\link[=bdeb_fit]{bdeb_fit()}} object.}

\item{pars}{Character vector of parameter names.  Forwarded to
the \code{\link[cmdstanr:fit-method-summary]{cmdstanr::summary()}} method on \code{bdeb_fit}.}

\item{prob}{Probability for the central credible interval.  Forwarded
to the \code{\link[cmdstanr:fit-method-summary]{cmdstanr::summary()}} method on \code{bdeb_fit}.}

\item{...}{Ignored.}
}
\value{
A \code{posterior::draws_summary} data frame.
}
\description{
\code{bdeb_summary()} is deprecated as of BayesianDEB 0.2.0.  Call
\code{\link[cmdstanr:fit-method-summary]{cmdstanr::summary()}} on a \code{\link[=bdeb_fit]{bdeb_fit()}} object instead; the two are
equivalent.  This wrapper will be removed in a future release.
}
\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)
  bdeb_summary(fit)  # equivalent to summary(fit); deprecated
}
}
}
\keyword{internal}
