[R] lm for matrix of response...

From: vinod gullu <vinodkgul_at_yahoo.com>
Date: Sun, 10 Jun 2007 21:11:07 -0700 (PDT)


Dear All,
1)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 X Y Z
1 2 1 1 2 3
....
Now i wnat to fit R1:R3 ~ X+Y+Z.
2) How can i use Singular Value decomposition (SVD) as an alternate to lsq.
Regards,



R-help_at_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 and provide commented, minimal, self-contained, reproducible code. Received on Mon 11 Jun 2007 - 05:32:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 11 Jun 2007 - 07:31:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.