% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/surv_utils.R
\name{process_survival_times}
\alias{process_survival_times}
\title{Process survival at specified time points}
\usage{
process_survival_times(
  survfit_objects,
  times,
  groups,
  group_labels,
  stats,
  type,
  digits,
  percent,
  total,
  total_label,
  time_label,
  time_unit,
  by,
  data,
  marks = NULL
)
}
\arguments{
\item{survfit_objects}{List of survfit objects.}

\item{times}{Numeric vector of time points.}

\item{groups}{Character vector of group names.}

\item{group_labels}{Character vector of group display labels.}

\item{stats}{Character vector of statistics to include.}

\item{type}{Character string specifying probability type.}

\item{digits}{Integer decimal places for percentages.}

\item{percent}{Logical whether to display as percentages.}

\item{total}{Logical or character controlling total column.}

\item{total_label}{Character label for total column.}

\item{time_label}{Character template for time column headers.}

\item{time_unit}{Character time unit for column headers.}

\item{by}{Character name of stratifying variable.}

\item{data}{Data.table with the source data.}
}
\value{
List with formatted and raw data.tables.
}
\description{
Extracts survival probabilities at specified time points from survfit objects.
}
\keyword{internal}
