I tried obj$p, obj$pvalue, but they both returned null~~

clearsky wrote:
> 
> I have a cox.obj named obj, 
> obj <- coxph( Surv(time, status) ~ group, surv.data)
> now I want to retrieve the p-value from obj, so that I can run this
> hundreds of times and plot out the distribution of the p-value. could
> anyone tell me how to get p-value from obj?
> 
> thanks,
> 
> 

-- 
View this message in context: 
http://www.nabble.com/retrieve-p-value-from-a-cox.obj-tf4348520.html#a12390960
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to