% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process_model_helpers.R
\name{build_survfit_matrix}
\alias{build_survfit_matrix}
\title{Build Survival Matrix from survfit Object}
\usage{
build_survfit_matrix(fit_obj, eval_times, n_obs)
}
\arguments{
\item{fit_obj}{A \code{survfit} object.}

\item{eval_times}{Numeric vector of evaluation times.}

\item{n_obs}{Expected number of observations (rows).}
}
\value{
A matrix (rows=subjects, cols=eval_times) of survival
  probabilities, or \code{NULL} on failure.
}
\description{
Extracts survival probabilities from a \code{survfit} object and aligns
them to a common set of evaluation times, creating a matrix.
}
\keyword{internal}
