[R] Centre of gravity of a mountain

Ab Hu master.rstat at yahoo.com
Mon Nov 8 18:07:45 CET 2010


Hi all,
I have a matrix of a mountain of form 21x21 and values in them are height
(Z). Using the persp function I can view this mountain in 3D. 
Now, I am trying to find a measure to find the centre of gravity (maybe
centroid?) of this mountain. Any idea what would be the best way to go?
-- 
View this message in context: http://r.789695.n4.nabble.com/Centre-of-gravity-of-a-mountain-tp3032319p3032319.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list