Learn R Programming

muhaz (version 1.2.6.4)

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 muhaz
plot(x, ylim, type, xlab, ylab, ...)
# S3 method for 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