centerOfMass: Calculate the center of mass of a matrix, numeric or integer

Description Usage Arguments Value

View source: R/Math.R

Description

The values returned are in indices with first bin being 1 and last being length(x)

Usage

1

Arguments

x

A matrix

Value

Numeric of length 2 with the x and y coordinate of the center fo mass


Tobias-Ruff/relectro_bak documentation built on May 3, 2019, 6:43 p.m.