Hello Sean,

It appears that you can fetch it using:
summary(a)$rsq


Full code:

require(biglm)
data(trees)
ff<-log(Volume)~log(Girth)+log(Height)
a <- biglm(ff,trees)

summary(a)$rsq
summary(lm(ff,trees))$r.squared  # we get the same result


To see how it is computed, have a look at:
getAnywhere(summary.biglm)


Cheers,
Tal


----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Tue, Nov 15, 2011 at 7:34 AM, sean st.clair <seanstclair1@gmail.com>wrote:

> Hello.  I had been struggling with running linear regression using
> lm() primarily because my data has a few categorical variables with at
> least a thousand levels.
>
> I tried the biglm() function and it worked.
>
> My problem now is that i don't know how to get the R2 results.  Could
> someone help?
>
> Thanks,
> sean
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

