[R] Help with R solve

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Mon Sep 22 05:49:32 CEST 2014


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                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

On September 21, 2014 7:10:19 PM PDT, "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.
>
>Thanks,
>Y.L. 
>______________________________________________
>R-help at 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.



More information about the R-help mailing list