Map time and status (1/TRUE = event, 0/FALSE = censored); map color to compare groups. The at-risk table is a milestone.

geom_km(
  mapping = NULL,
  data = NULL,
  color = NULL,
  alpha = NULL,
  linewidth = NULL
)

Arguments

mapping, data, color, alpha

As in geom_point().

linewidth

Curve width.

Value

A Layer.