RE: [R] Basic Linear Algebra

2005-01-09 Thread Mulholland, Tom
Dalgaard [mailto:[EMAIL PROTECTED] Sent: Friday, 7 January 2005 4:46 PM To: Mulholland, Tom Cc: R-Help (E-mail) Subject: Re: [R] Basic Linear Algebra ... I can't. 4th element should be just 12. I did indeed transcribe my solution incorrectly ... -- O__ Peter Dalgaard

Re: [R] Basic Linear Algebra

2005-01-07 Thread Peter Dalgaard
Mulholland, Tom [EMAIL PROTECTED] writes: tdata [,1] [,2] [,3] [,4] [,5] [1,]010 -1 -1 [2,]200 -5 -6 [3,]003 -5 -6 [4,]1 -1 -100 sumtd [1] 0 0 0 -2 which I can calculate to give me 3x+30, x+12, 2x+20, 12x, x

RE: [R] Basic Linear Algebra

2005-01-07 Thread John Fox
Dear Tom, I'm not sure that I follow the question correctly, but I think that you want to solve the over determined system tdata %*% x == sumtd. Some time ago, I believe that I posted to the list a function for Gaussian elimination that I use in teaching basic linear algebra. Here's an updated