% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dist_spec.R
\name{as.data.frame.censored_sample}
\alias{as.data.frame.censored_sample}
\title{Coerce censored sample to data frame}
\usage{
\method{as.data.frame}{censored_sample}(x, row.names = NULL, optional = FALSE, ...)
}
\arguments{
\item{x}{a \code{censored_sample} object.}

\item{row.names}{ignored.}

\item{optional}{ignored.}

\item{...}{ignored.}
}
\value{
A data frame with columns \code{x} (observed values),
\code{status} (integer status code: 0 = right-censored, 1 = event,
2 = left-censored, 3 = interval-censored, 4 = middle-censored),
\code{t_true} (latent true failure times), and \code{time2} (upper
interval bound for interval- or middle-censored observations,
\code{NA} otherwise).
}
\description{
Coerce censored sample to data frame
}
