% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plot_censor_hist}
\alias{plot_censor_hist}
\title{Histogram of observed values with true density overlay}
\usage{
plot_censor_hist(samp, dist = NULL, use_latent = TRUE, nbreaks = 30L, ...)
}
\arguments{
\item{samp}{a \code{censored_sample} object.}

\item{dist}{optional \code{dist_spec}; defaults to \code{samp$dist}.}

\item{use_latent}{logical; plot histogram of latent failures
(\code{t_true}) instead of observed \code{x} (default \code{TRUE} for
verifying the underlying distribution).}

\item{nbreaks}{number of histogram breaks (default \code{30}).}

\item{...}{graphical parameters passed to \code{\link[graphics]{hist}}.}
}
\value{
Invisibly, an object of class \code{"histogram"} as returned by
\code{\link[graphics]{hist}}, containing break points, counts, and
density values.  Called primarily for its side effect of producing a
histogram plot with an optional PDF overlay.
}
\description{
For censored samples, uses latent \code{t_true} values to overlay the
target density when available; observed \code{x} values are histogrammed
with a note on censoring status.
}
