[R] linear and non linear regression in 3D !

From: Param Priya Singh <parampriya_singh_at_persistent.co.in>
Date: Tue, 15 Jul 2008 17:11:56 +0530

Hi All,

I have to draw a best fit line in a helix that will tell the axis of the helix and a
curve that will tell the curvature of the helix. I suppose I have to do linear and
non linear regression in 3D space for this ?

I have coordinates in following structure

'data.frame': 24 obs. of 3 variables:
$ x: num 17.5 18.3 21.0 23.1 23.2 ...
$ y: num 40.0 43.5 43.8 41.0 43.0 ...
$ z: num 37.3 36.0 38.7 37.1 33.9 ...

I could draw the helix but could not do regression. Please help ! Thanks in anticipation.


DISCLAIMER\ ==========\ This e-mail may contain privileg...{{dropped:4}}

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 Tue 15 Jul 2008 - 11:43:40 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 Tue 15 Jul 2008 - 12:31:49 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