powered by
Plotting the baseline hazard from a fitted baseline object.
baseline
# S3 method for baseline plot(x, xlab, ylab, xlim, ylim, title, ...)
A plot is produced, and nothing is returned.
fitted object from baseline function.
the title for the x axis.
the title for the y axis.
the limits of the x axis.
the limits of the y axis.
the title for the plot.
other graphical parameters to plot
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)
Run the code above in your browser using DataLab