Dear All,
Can I use lm() to fit more than one response in
 single expression. e.g data is a matrix of these
variables
R1 R2 R3  X1 X2 X3
1 2 1 1 2 3

 Now i wnat to fit 
R1~X1
R2~X2
R3~X3

in turn, and I don't want to do it use loops

of couse it it easy to make it using loops,but the proceed  is very slow since 
the data is very big

Can't anybody give me some tips or help, my eamil: guoshicheng2...@yeah.net



2011-10-13



Best wishes
Yours Alxe

--
Ministry of Education Key Laboratory of Contemporary Anthropology
School of Life Sciences, Fudan University
220 Handan Road
Shanghai, China 200433
Phone:15216760764
E-mail: guoshicheng2...@yeah.net
        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to