kphaz.plot {muhaz} | R Documentation |
kphaz.plot
Description
Plots a Kaplan-Meier type hazard estimate.
Usage
kphaz.plot(fit, ...)
Arguments
fit |
A list representing the results of a call to "kphaz.fit". |
... |
Any legal argument for the plot function. |
Side Effects
A plot with multiple hazard curves. One for each unique strata with 1 or more point.
See Also
Examples
# Use "kphaz.fit" to generate a hazard estimate
data(cancer, package="survival")
attach(ovarian)
kpfit <- kphaz.fit(futime, fustat)
# Use "kphaz.plot" to plot the estimate
kphaz.plot(kpfit)
[Package muhaz version 1.2.6.4 Index]