开发者

Orthogonal Distance Regression in 3d

开发者 https://www.devze.com 2023-03-27 22:29 出处:网络
Does anyone know how to find a best fitting line for a point pattern in 3d? I\'m interested i开发者_高级运维n the so called ODR (Orthogonal Distance Regression) Line, that minimizes the sum of the euc

Does anyone know how to find a best fitting line for a point pattern in 3d?

I'm interested i开发者_高级运维n the so called ODR (Orthogonal Distance Regression) Line, that minimizes the sum of the euclidian distances of all points to the line.

Is there a function in r for this problem or - if not - can you tell me how I can implement this myself?

Thanks in advance!


Try http://tolstoy.newcastle.edu.au/R/help/05/07/8039.html

Apparently there's a package, prcomp, which may meet your needs.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号