% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plots.R
\name{plot_censor_acf}
\alias{plot_censor_acf}
\title{Autocorrelation function plot}
\usage{
plot_censor_acf(samp, use_latent = TRUE, max_lag = NULL, ...)
}
\arguments{
\item{samp}{a \code{censored_sample} object.}

\item{use_latent}{logical; compute ACF on \code{t_true} (default) or
observed \code{x}.}

\item{max_lag}{maximum lag (default \code{min(20, n/4)}).}

\item{...}{passed to \code{\link[graphics]{plot}}.}
}
\value{
Invisibly, an object of class \code{"acf"} as returned by
\code{\link[stats]{acf}}, containing the autocorrelation values at each
lag.  Called primarily for its side effect of producing an ACF plot
with 95\\% confidence bands.
}
\description{
Plots the ACF of latent failure times to assess independence of the
underlying RNG stream (should resemble white noise for valid simulation).
}
