calcMeanVec: Calculate the centroid of the individual identity traits

Description Usage Arguments Value See Also Examples

Description

This function calculates centroid of the individual identity traits. Euclidean distances are used.

Usage

1

Arguments

df

A data frame with the individual identity traits without identity codes (NA will be produced for the column with identity code).

Value

Numeric vector with the centroid values for each trait.

See Also

Other calcHM support function: calcDistT, calcDistW

Examples

1
2
3
4
5
#incorrect use (with identity codes, NA will be produced):
calcMeanVec(ANmodulation)

#correct use (with identity codes removed)
calcMeanVec(ANmodulation[-1])

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