RE: [R] Linear system

From: Doran, Harold <>
Date: Wed 25 May 2005 - 22:49:14 EST

Yes, solving systems of linear equations is a strength of R and is very easy. Doug Bates has a nice article in a prior version of R News showing optimal methods for doing this in R. Here is an example using your data:

X <- matrix(c(353,45,29,45,29,3,29,3,4), ncol=3) y <- c(79,5,8)


See Doug's article at the following link:

-----Original Message-----

[] On Behalf Of Jim Gustafsson Sent: Wednesday, May 25, 2005 8:31 AM
Subject: [R] Linear system

Dear R-help

I have a problem solving a linear system like



Is there any way of doing this in R?

Best Regards

This e-mail and any attachment may be confidential and may also be privileged.
If you are not the intended recipient, please notify us immediately and then delete this e-mail and any attachment without retaining copies or disclosing the contents thereof to any other person. Thank you.

        [[alternative HTML version deleted]] mailing list PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Wed May 25 23:06:30 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:05 EST