Which line do you want?  There's more than one choice.  For example, you 
could regress y and z on x, or you could find the principle axis of the 
x, y, z point cloud.

Duncan Murdoch


Thanks for the response. I need to find the principal axis for the point
cloud. How can I plot this in R?

Thanks a lot.
-- 
View this message in context: 
http://n4.nabble.com/3d-trend-line-tp1053686p1100043.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to