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

Param Priya Singh parampriya_singh at persistent.co.in
Tue Jul 15 13:41:56 CEST 2008


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.

-Param

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



More information about the R-help mailing list