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

From: S. M. Niaz Arifin <niazarifin_at_yahoo.com>
Date: Thu, 24 Jul 2008 23:19:44 -0700 (PDT)


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!



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. Received on Fri 25 Jul 2008 - 06:24:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 16:32:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive