% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostic_plots.R
\name{plot_adapt2_phcs}
\alias{plot_adapt2_phcs}
\title{Diagnostic Plots for Adaptive Type-II Progressive Hybrid Censoring Scheme}
\usage{
plot_adapt2_phcs(
  input,
  T_thresh = NULL,
  pdf = NULL,
  par = NULL,
  main = "Adaptive Type-II PHCS Diagnostics",
  ...
)
}
\arguments{
\item{input}{Numeric vector of failure times, dataset list, or fit object.}

\item{T_thresh}{Time threshold T. If NULL, extracted from input list if available.}

\item{pdf}{Function (optional), probability density function pdf(x, par) for density overlay.}

\item{par}{Numeric vector (optional), parameters for PDF overlay.}

\item{main}{Title prefix for plots.}

\item{...}{Additional graphic parameters.}
}
\value{
Invisibly returns NULL. Displays diagnostic plots.
}
\description{
Generates 3-panel diagnostic graphics (Histogram with density overlay, Dot plot, and ACF plot)
under Adaptive Type-II PHCS.
}
\examples{
set.seed(123)
my_cdf <- function(x, par) pexp(x, rate = par[1])
my_pdf <- function(x, par) dexp(x, rate = par[1])
R_plan <- c(rep(1, 8), rep(0, 4))
dat_gen <- r_adapt2_phcs(
  n = 20, m = 12, T_thresh = 2.5,
  R = R_plan, pdf = my_pdf,
  cdf = my_cdf, par = 0.5
)
plot_adapt2_phcs(
  dat_gen, pdf = my_pdf, par = 0.5
)
}
