plot.baseline | R Documentation |
Plotting the baseline hazard from a fitted baseline
object.
## S3 method for class 'baseline'
plot(x, xlab, ylab, xlim, ylim, title, ...)
x |
fitted object from |
xlab |
the title for the x axis. |
ylab |
the title for the y axis. |
xlim |
the limits of the x axis. |
ylim |
the limits of the y axis. |
title |
the title for the plot. |
... |
other graphical parameters to plot |
A plot is produced, and nothing is returned.
data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtv(event = event, z = z, time = time)
base.est <- baseline(fit)
plot(base.est)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.