Re: [R] rms: getting adjusted R^2 from ols object

From: Mark Difford <>
Date: Wed, 09 Mar 2011 02:14:24 -0800 (PST)

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)


Regards, Mark.

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 09 Mar 2011 - 12:40:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 09 Mar 2011 - 12:50:19 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive