% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pit.R
\name{plot_pit}
\alias{plot_pit}
\title{Plot PIT histograms}
\usage{
plot_pit(object, bins = 20, ...)
}
\arguments{
\item{object}{A fitted model object.}

\item{bins}{Number of histogram bins (default: 20).}

\item{...}{Additional arguments (unused).}
}
\value{
A ggplot object.
}
\description{
Creates faceted histograms of the approximate PIT values returned by
\code{\link[=pit_values]{pit_values()}}. Under good model fit, these histograms should be roughly
uniform, but they remain plug-in diagnostics rather than exact posterior
predictive checks.
}
\details{
PIT histograms visualize the approximate plug-in PIT values
returned by \code{\link[=pit_values]{pit_values()}}. They are currently implemented for the three
core single-level fit classes only.
}
