plot.pehaz {muhaz}R Documentation

Plot a pehaz object.

Description

A plot of the pehaz object is produced on the current device. If lines.pehaz was called then the estimated curve is added to the current plot.

Usage

plot.pehaz(x, xlab="Time", ylab="Hazard Rate", ...)
lines.pehaz(x, lty=2, ...)

Arguments

x A pehaz object.
xlab The x-axis label.
ylab The y-axis label.
lty The line type to use when plotting.
... Other graphical parameters, passed to plot

Value

No value is returned, the object is plotted on the active device.

See Also

pehaz.object

Examples

  data(ovarian)
  attach(ovarian)
  fit <- pehaz(futime, fustat)
  plot(fit)

[Package Contents]