This function prepares and cleans data for single-arm survival analysis by calculating survival time, filtering based on landmark time, and merging survival outcomes with other factors.

Value

A list containing cleaned data and metadata for plotting and analysis.

Note

Ensure the input data contains the required variables (elapsed time, outcome) and meets specified formatting criteria.

Super classes

jmvcore::Analysis -> jsurvival::singlearmBase -> singlearmClass