View source: R/plot.trSurvfit.R
plot.trSurvfit | 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.