calcDistT: Calculate total distance in given dataset

Description Usage Arguments Value See Also Examples

Description

This function calculates centroid of all samples in a given dataset and sums distances between the centroid and each sample. Euclidean distances are used.

Usage

1

Arguments

df

A data frame with the first column indicating individual identity.

Value

Numeric. Total distance.

See Also

Other calcHM support function: calcDistW, calcMeanVec

Examples

1

IDmeasurer documentation built on May 9, 2019, 5:02 p.m.