hclust.wrap: hierarchical Clustering

Description Usage Arguments Value

Description

To perform hierarchical clustering

Usage

1
hclust.wrap(x, centers)

Arguments

x

Numeric matrix of data,or an object that can be coerced to such a matrix (such as a numeric vector or a data frame with all numeric columns).

centers

An integer scalar or vector with the desired number of groups

Value

hclust.wrap returns a vector with group memberships if centers are scalar, otherwise a matrix with group memberships is returned where each column corresponds to the elements of k, respectively (which are also used as column names).


SODC documentation built on May 2, 2019, 3:35 p.m.