[R] Solving linear equations

Spencer Graves spencer.graves at pdf.com
Wed Apr 28 01:18:21 CEST 2004


      How do you wish to decide how to resolve the likely 
inconsistencies in the overdetermined system?  If you assume the 
vertical deviations from a linear fit are normally distributed with 
constant variance, then "lm" should do what you want. 

      hope this helps.  spencer graves

Tomek R wrote:

> Is there a simple method under R to solve an overdetermined system of 
> linear equations Ax=b with A being a matrix m*n? I know that solve() 
> seems to work for m*m matrices, but I had no luck with overdetermined 
> systems.
>
> Mlod
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html




More information about the R-help mailing list