[R] Help with R solve

Berend Hasselman bhh at xs4all.nl
Mon Sep 22 08:51:08 CEST 2014


On 22-09-2014, at 04:10, Lio, Yuhlong <Yuhlong.Lio at 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 a non-negative solution for x column, when more than one possible solution happens in the system.


If you are referring to an underdetermined system of linear equations have a look here:

http://en.wikipedia.org/wiki/System_of_linear_equations

section Matrix solution.

Berend



More information about the R-help mailing list