Skip to content

Nomogram with stratified cph in rms package, how to get failure probability

2 messages · Frank E Harrell Jr, min

#
Hazard() is not implemented except for parametric survival models.

You are not calling nomogram() correctly; in rms the plotting step is
separated from the nomogram computations.

To plot cumulative event rates do something like:

mort10 <- function(lp) 1 - surv(10,lp)

and tell nomogram about mort10 using fun=.

Frank



min wrote
-----
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context: http://r.789695.n4.nabble.com/Nomogram-with-stratified-cph-in-rms-package-how-to-get-failure-probability-tp4123249p4129173.html
Sent from the R help mailing list archive at Nabble.com.