or more simply and better, vcov(lm.object)
?vcov Note R's philosophy:use available extractors to get the key features of the objects, rather then indexing. This is safer, as it does not depend on the particular structure/implementation, which can change. This is the difference between "private" and "public" views of an object in oo lingo. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rolf Turner > Sent: Friday, June 02, 2006 2:25 PM > To: r-help@stat.math.ethz.ch; [EMAIL PROTECTED] > Subject: Re: [R] lm() variance covariance matrix of coefficients. > > > summary(object)$cov.unscaled > > ______________________________________________ > 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 > ______________________________________________ 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