[R] Fit a 3-Dimensional Line to Data Points

S. M. Niaz Arifin niazarifin at yahoo.com
Fri Jul 25 08:19:44 CEST 2008


Hi Experts,
I am new to R, and was wondering how to do 3D linear
regression in R. In other words, I need to Fit a
3-Dimensional Line to Data Points (input).

I googled before posting this, and found that it is
possible in Matlab and other commercial packages. For
example, see the Matlab link:
http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/orthoregdemo.html#10

Is there a way to achieve this in R?
Thanks!



More information about the R-help mailing list