Skip to content
Prev 105865 / 398506 Next

Show number at risk on Kaplan Meier curve

Mark Wardle wrote:
library(Design) # which also requires the Hmisc package
f <- cph( ..., surv=TRUE)
survplot(f, ..., n.risk=TRUE)

?survplot for details