On 09/11/2010 09:49 AM, Waichler, Scott R wrote:
Is there an existing function to compute the coordinates for the center of mass 
of a variable in a 2D or 3D grid, where dx, dy, and dz are known for all cells? 
 The mass in each cell varies by location.

Hi Scott,
I don't know of one in R, but this might help.

http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/Principal_component_analysis_ref/Function_barycenter.html

Jim

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to