Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kphaz.plot

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)

muhaz

Hazard Function Estimation in Survival Analysis

v1.2.6.4
GPL
Authors
S original by Kenneth Hess, R port by R. Gentleman
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.