% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/surv_utils.R
\name{format_survival_cells}
\alias{format_survival_cells}
\title{Survival cell formatting}
\usage{
format_survival_cells(
  est,
  lower,
  upper,
  n_risk,
  n_event,
  stats,
  fmt_est,
  fmt_ci_lower,
  fmt_ci_upper,
  percent,
  marks = NULL
)
}
\arguments{
\item{est}{Numeric vector of estimates.}

\item{lower}{Numeric vector of lower CI bounds.}

\item{upper}{Numeric vector of upper CI bounds.}

\item{n_risk}{Integer vector of numbers at risk.}

\item{n_event}{Integer vector of event counts.}

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

\item{fmt_est}{Format string for estimate.}

\item{fmt_ci_lower}{Format string for lower CI bound.}

\item{fmt_ci_upper}{Format string for upper CI bound.}

\item{percent}{Logical whether percentages.}

\item{marks}{List with \code{big.mark} and \code{decimal.mark} as returned
by \code{\link{resolve_number_marks}}.}
}
\value{
Character vector of formatted cells.
}
\description{
Formats survival probability cells for multiple rows at once. Uses
locale-aware decimal marks and safe CI separators that avoid ambiguity
with negative values or decimal commas.
}
\keyword{internal}
