Description Usage Arguments Side Effects See Also Examples
Plots a Kaplan-Meier type hazard estimate.
1 | kphaz.plot(fit, ...)
|
fit |
A list representing the results of a call to "kphaz.fit". |
... |
Any legal argument for the plot function. |
A plot with multiple hazard curves. One for each unique strata with 1 or more point.
1 2 3 4 5 6 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.