powered by
Plots a Kaplan-Meier type hazard estimate.
kphaz.plot(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.
kphaz.fit
# 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)
Run the code above in your browser using DataLab