powered by
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.
lines.pehaz
# S3 method for pehaz plot(x, xlab="Time", ylab="Hazard Rate", ...) # S3 method for pehaz lines(x, lty=2, ...)
A pehaz object.
pehaz
The x-axis label.
The y-axis label.
The line type to use when plotting.
Other graphical parameters, passed to plot
plot
No value is returned, the object is plotted on the active device.
pehaz.object
# NOT RUN { data(cancer, package="survival") attach(ovarian) fit <- pehaz(futime, fustat) plot(fit) # }
Run the code above in your browser using DataLab