Lisa <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> Hi Jorge,
> 
>  ... the new question is,
> is there any prediction for the cox model? I tried
> predict(Surv(y~x),newdata), it only gave the fitted values. Any clue
> on this? thanks a lot! 

I cannot claim great expertise in this area, but my impression is that a 
Surv() objects is not really a Cox model, but rather an object that can 
be an argument to one of the Cox PH functions. Suggestion: construct an 
example and remember to specify which of the libraries the Cox function 
came from.

-- 
David Winsemius

______________________________________________
R-help@r-project.org 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.

Reply via email to