[R] Error in if (!length(fname) || !any(fname == zname)) { :

Vladimir Eremeev wl2776 at gmail.com
Fri May 4 12:11:42 CEST 2007




Vladimir Eremeev wrote:
> 
> For me, the simplest way to find, what is wrong, would be tracing the R
> code:
> 
> library(debug)
> mtrace(cph)
> cph(Surv(time.sur, status.sur)~ strat(colon[,13])+colon[,18]
> +colon[,20]+colon[,9], surv=TRUE)
> 
> ... then find the place of the error and analyze how to adjust the
> function call arguments to avoid the error and get the desired result.
> 
and then, switch off the  tracing
mtrace(cph,FALSE)
or
mtrace.off()
-- 
View this message in context: http://www.nabble.com/Error-in-if-%28%21length%28fname%29-%7C%7C-%21any%28fname-%3D%3D-zname%29%29-%7B-%3A-tf3691016.html#a10320118
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list