[R] Object item extraction

From: Smit, R. (Robin) (IenT) <robin.smit_at_tno.nl>
Date: Mon 04 Apr 2005 - 18:35:48 EST


Hello  

I am able to extract partial regression coefficients from a fitted model object "model", i.e.  

model <- lm(var.sel.gkm, weights = count.gkm, data = DATA)

summary(model)

write.table(model$coef, file = "C:/coef_CO_gkm.txt", row.names = TRUE, col.names = TRUE)

I was wondering if anyone could advise me how to extract other object items such as std. error, t-values and adjusted R2 in the same way.  

Many thanks.
Robin Smit  

This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html

        [[alternative HTML version deleted]]



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 Received on Mon Apr 04 18:42:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:01 EST