Data Visualization
Clinical visualizationExample data
Ask Astraea
Kaplan–Meier curve
Months
R code
library(survival)
fit <- survfit(
Surv(months, event) ~ 1,
data = study,
conf.type = "log-log"
)
plot(fit,
conf.int = FALSE,
mark.time = TRUE
)Ask a question. See the evidence.
Create clinical charts in plain language, inspect the code, and refine the result without losing context.
Request a demo