Re: [R] Help with R solve

2014-09-22 Thread Berend Hasselman
On 22-09-2014, at 04:10, Lio, Yuhlong yuhlong@usd.edu wrote: I need someone to help with solution for a system of linear equations A%*%x =b, where A is the coefficient matrix and b is right hand-side constant column. My question is that is there any option in the qr.solve to get

[R] Help with R solve

2014-09-21 Thread Lio, Yuhlong
I need someone to help with solution for a system of linear equations A%*%x =b, where A is the coefficient matrix and b is right hand-side constant column. My question is that is there any option in the qr.solve to get a non-negative solution for x column, when more than one possible

Re: [R] Help with R solve

2014-09-21 Thread Jeff Newmiller
This question is about linear algebra theory, or perhaps linear programming, not about R. There is no magic parameter to solve this for you... either there is a non-negative solution or there isn't. --- Jeff Newmiller