knn: Calculate centroid mean

Description Usage Arguments Examples

Description

centroid_mean calculate centroid mean

Usage

1
knn(X, centroids = NULL, k = NULL, imax = NULL, ...)

Arguments

X

X Matrix of ncol >=2.

group

group Vector of groups for which centroid means will be calculated.

Examples

1
# centroid_mean(X, idx)

ivyleavedtoadflax/knn documentation built on May 18, 2019, 7:14 a.m.