Skip to main content

Module censor

Module censor 

Source
Expand description

Censor marks for survival curves: + glyphs at the (time, survival) points where observations were censored (ggsurvfit’s add_censor_mark).

Structs§

GeomCensorMarks
Points drawn with a fixed shape (default +) — censor marks on a Kaplan–Meier curve. Mapped color/size/alpha/shape still win.
StatCensored
Keep only the rows whose column marks a censoring: a number > 0 (e.g. n_censor), true, or the strings "true"/"1"/"censored".