% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plot_diagnostics}
\alias{plot_diagnostics}
\title{Diagnostic Plots for Censored Data Schemes}
\usage{
plot_diagnostics(data, pdf = NULL, main = "Censoring Diagnostic Plots")
}
\arguments{
\item{data}{Object of class \code{comp_risk_rel_data} or a numeric vector of failure times.}

\item{pdf}{Optional probability density function to overlay on histogram.}

\item{main}{Overall plot title.}
}
\value{
No return value, called for side effects (renders diagnostic plots).
}
\description{
Produces 3 diagnostic plots (Histogram with PDF overlay, Dot plot, and ACF plot) to verify sample distributional properties and independence.
}
\examples{
dat <- gen_type1_hybrid(
  pdf = function(x) dexp(x, rate = 1), cdf = function(x) pexp(x, rate = 1),
  lower = 0, upper = 10, n = 20, r = 10, T_star = 1.5, seed = 123
)
plot_diagnostics(dat, pdf = function(x) dexp(x, rate = 1))
}
