inertia: Inertia of a point cloud with respect to a reference point.

Description Usage Arguments

Description

This function calculates the inertia of a point cloud with respect to a reference point.

Usage

1
inertia(point, cloud, weights, pointwise = FALSE, relative = FALSE)

Arguments

point

The n coordinates of a reference point.

cloud

An m-by-n matrix of coordinates for m points in n-dimensional space.

weights

An m-element vector of point masses (weights).

pointwise

Logical; whether to return pointwise (versus cloud) inertias. Defaults to FALSE.

relative

Logical; whether to return relative (versus absolute) pointwise inertias. Defaults to FALSE.


corybrunson/cloud documentation built on May 13, 2019, 10:51 p.m.