[R] C-index

Frank E Harrell Jr f.harrell at vanderbilt.edu
Tue Feb 5 18:29:00 CET 2008


bereket weldeslassie wrote:
> Hi
> 
> I am using Cox regression to identify at risk groups. How can I get the
> C-index in R?
> 
> Thanks,
> 
> Bereket

library(Hmisc)
?rcorr.cens
# assumes no overfitting

Also:

library(Design)
?validate
# penalizes for overfitting

Frank

> <'r-help at stat.math.ethz.ch'>
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list