plot.trSurvfit {tranSurv} | R Documentation |
Plot the survival estimation for an trSurvfit
/trReg
object.
## S3 method for class 'trSurvfit'
plot(x, ...)
x |
an object of class |
... |
graphical parameters to be passed to methods. |
A ggplot
object.
data(channing, package = "boot")
chan <- subset(channing, entry < exit)
plot(trReg(Surv(entry, exit, cens) ~ 1, data = chan))