% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/censor_schemes.R
\name{r_complete}
\alias{r_complete}
\title{Generate a complete (uncensored) random sample}
\usage{
r_complete(n, dist, seed = NULL)
}
\arguments{
\item{n}{sample size.}

\item{dist}{a \code{\link{dist_spec}} object.}

\item{seed}{optional integer seed for reproducibility.}
}
\value{
A \code{censored_sample} object (S3 class) containing:
\code{scheme} (character), \code{dist} (the \code{dist_spec}),
\code{n} (integer sample size), \code{seed}, \code{t_true} (numeric
vector of latent failure times), \code{x} (observed/censored values),
\code{status} (integer: 1 = event for all observations in a complete
sample), and \code{time2} (\code{NA} for all).
}
\description{
Generate a complete (uncensored) random sample
}
\examples{
exp_dist <- dist_spec(
  q = function(u, p) -log(1 - u) / p$rate,
  surv = function(x, p) exp(-p$rate * x),
  param = list(rate = 1), name = "Exp(1)"
)
samp <- r_complete(50, exp_dist, seed = 42)
table(samp$status)
}
