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 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 ______________________________________________ R-help@r-project.org 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.