lm can accept a multiple response variables, and produces a list
containing one model per response variable. I would like to compare
those models using the mtable function from the memisc package. I cannot
figure out the indexing of the list produced by the lm call. How can I
extract an lm from the list produced by a call of the form:
data(mtcars)
lmTest = lm(cbind(mpg, hp) ~ disp + wt + carb, data=mtcars)
Best,
--Lee
--
Lee Hachadoorian
Assistant Professor in Geography, Dartmouth College
http://geospatial.commons.gc.cuny.edu
http://freecity.commons.gc.cuny.edu
______________________________________________
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.