[R] MASS4 page 360 cumulative hazard plot

From: Ross Darnell <r.darnell_at_uq.edu.au>
Date: Mon 16 Oct 2006 - 01:37:01 GMT


I cannot reproduce Fig. 13.2 in MASS4.

> plot(gehan.surv,fun='cloglog')

Warning message:
2 x values <= 0 omitted from logarithmic plot in: xy.coords(x, y, xlabel, ylabel, log)

and the x-axis is badly scaled.

I was wondering if someone can help

Regards
Ross Darnell



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 Mon Oct 16 11:49:27 2006

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 Mon 16 Oct 2006 - 03:30:10 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.