kuva survival

Kaplan-Meier survival curve — estimates the survival function from time-to-event data with right-censoring.

Input: one row per subject with time, event indicator (1 = event occurred, 0 = censored), and optional group columns.

FlagDefaultDescription
--time-col <COL>0Follow-up time column
--event-col <COL>1Event indicator column (1 = event, 0 = censored)
--group-col <COL>Group column; one curve per unique value
--no-cioffHide Greenwood 95% confidence interval bands
--no-censoringoffHide censoring tick marks
--line-width <PX>2.0Stroke width of survival curves
--legend <LABEL>Add a legend
kuva survival data.tsv --time-col time --event-col event

kuva survival data.tsv --time-col time --event-col event \
    --group-col treatment --legend "Group" \
    --title "Kaplan-Meier Survival by Treatment"

See also: Shared flags — output, appearance, axes.