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

plot.muhaz

Plots estimated hazard function from an object of class muhaz.


Description

Default time limits are those provided to muhaz, which default to zero and the time corresponding to when ten patients remain at risk. Default y-axis limits are 0 and the maximum estimated hazard rate. Additional lines can be added to the same set of axes using the lines method.

Usage

## S3 method for class 'muhaz'
plot(x, ylim, type, xlab, ylab, ...)
## S3 method for class 'muhaz'
lines(x, ...)

Arguments

x

Object of class muhaz (output from calling muhaz function)

ylim

Limits for the y axis.

type

type argument for plot.

xlab

Label for the x axis.

ylab

Label for the y axis.

...

Additional arguments to be passed along.

See Also


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.