hclust.wrap: hierarchical Clustering

Description Usage Arguments Value

View source: R/hclust.wrap.R

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 30, 2017, 7:11 a.m.