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


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.