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(cancer, package="survival")
attach(ovarian)
kpfit <- kphaz.fit(futime, fustat)
# Use "kphaz.plot" to plot the estimate
kphaz.plot(kpfit)

muhaz documentation built on April 21, 2021, 5:06 p.m.

Related to kphaz.plot in muhaz...