% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ppc.R
\name{summary.bdeb_prediction}
\alias{summary.bdeb_prediction}
\title{Tabulate Posterior Predictive Quantiles}
\usage{
\method{summary}{bdeb_prediction}(object, prob = 0.9, ...)
}
\arguments{
\item{object}{A \code{bdeb_prediction} object.}

\item{prob}{Credible interval coverage in \verb{(0, 1)}.  Default \code{0.90}.}

\item{...}{Unused.}
}
\value{
A data frame with columns \code{time}, \code{lower}, \code{median}, \code{upper}.
Carries class \code{summary.bdeb_prediction} and attribute \code{prob}.
}
\description{
Reduces the matrix of posterior trajectory draws stored in a
\code{bdeb_prediction} object to per-time-point credible intervals.
}
\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(predict(fit), prob = 0.95)
}
}
}
