[R] list of lm() results
S Ellison
S.Ellison at lgc.co.uk
Tue Jul 21 18:33:26 CEST 2009
You could look at ?lmList in package lme ...
>>> Idgarad <idgarad at gmail.com> 21/07/2009 17:27:52 >>>
How can I get the results of lm() into a list so I can loop through the
results?
e.g.
myResults[1] <- lm(...)
myResults[2] <- lm(...)
myResults[3] <- lm(...)
...
myResults[15] <- lm(...)
myResults[16] <- lm(...)
so far every attempt I've tried doesn't work throwing a "number of
items to replace is not a multiple of replacement length" error or
simply not working.
______________________________________________
R-help at 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.
*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}
More information about the R-help
mailing list