Hi R-help,

 

I have fit a cox ph model to my data, but have beenreceiving an error when 
trying to fit a model to the nomogram. Here is the codeand corresponding error:

 

 

>nomogramCF = nomogram(cph_age6_40avp4, 

+                    lp.at= seq(-10,10,by =0.5),lp = TRUE,

+                      

+                      funlabel="5year survival",

+                      fun=surv5.CFdata5,fun.at= 
c(0.01,seq(0.1,0.9,by=0.2),0.99))

Error inapprox(fu[s], xseq[s], fat, ties = mean) : 

  needat least two non-NA values to interpolate

 

 

I have fit similar nomograms based on cox ph models usingsimilar code, so I’m 
not sure what I’m doing wrong this time.

 

I heard there might be some an issue because of a softwareupdate?

 

Thanks,

Annie


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to