[R] Estimate and plot hazard function using "muhaz" package

From: Deming Mi <deming.mi_at_vanderbilt.edu>
Date: Tue 23 Jan 2007 - 23:34:07 GMT

Dear R users,
I am trying to use "muhaz" and "plot.muhaz" functions in "muhaz" package to estimate and plot hazard funciton. However function "muhaz" always gives error message "Error in Surv(times, delta) : object "times" not found". I could not even run their sample codes in the user's manual as follows:

fit1 <- muhaz(futime, fustat)

it gave the same error message. By the way, the "survival" package is installed and functions well on my computer.

Does anyone have the same problem? Thanks!


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed Jan 24 10:39:30 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 24 Jan 2007 - 00:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.