powered by
Plot the survival estimation for an trSurvfit/trReg object.
trSurvfit
trReg
# S3 method for trSurvfit plot(x, ...)
an object of class trSurvfit returned by the trSurvfit() or the trReg() function.
trSurvfit()
trReg()
graphical parameters to be passed to methods.
A ggplot object.
ggplot
# NOT RUN { data(channing, package = "boot") chan <- subset(channing, entry < exit) plot(trReg(Surv(entry, exit, cens) ~ 1, data = chan)) # }
Run the code above in your browser using DataLab