On Mar 09, 2011; 11:09am Mark Seto wrote:

>> How can I extract the adjusted R^2 value from an ols object (using rms
>> package)? 

>> library(rms) 
>> x <- rnorm(10) 
>> y <- x + rnorm(10) 
>> ols1 <- ols(y ~ x)

##
ols1$stats
ols1$stats[4]

Regards, Mark.

--
View this message in context: 
http://r.789695.n4.nabble.com/rms-getting-adjusted-R-2-from-ols-object-tp3343118p3343220.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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