kphaz.plot: kphaz.plot

Description Usage Arguments Side Effects See Also Examples

View source: R/all.R

Description

Plots a Kaplan-Meier type hazard estimate.

Usage

1

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

kphaz.fit

Examples

1
2
3
4
5
6
# Use "kphaz.fit" to generate a hazard estimate
data(ovarian, package="survival")
attach(ovarian)
kpfit <- kphaz.fit(futime, fustat)
# Use "kphaz.plot" to plot the estimate
kphaz.plot(kpfit)

Example output



muhaz documentation built on Jan. 26, 2019, 5:04 p.m.