R/plot.trSurvfit.R
plot.trSurvfit.Rd
Plot the survival estimation for an trSurvfit
/trReg
object.
# S3 method for 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))