survfit
Surv
Hmisc
interaction()
survfit(formula, data, weights, subset, na.action = na.delete, conf.type = c("log-log", "log", "plain", "none"), ...)
## Not run: #fit a Kaplan-Meier and print the results data(aml) survfit(Surv(time, status) ~ x, data=aml) ## End(Not run)