initial_hier: Hierarchical Clustering

View source: R/initial_hier.R

initial_hierR Documentation

Hierarchical Clustering

Description

Carry out hierarchical clustering on the raw data. Use the outcome as the initial value for EM algorithm. For complete example please check out the documentation for function robustEM.

Usage

initial_hier(sampleMat, cluster)

Arguments

sampleMat

A matrix with number of rows equal to the number of points and the number of columns equal to the dimension.

cluster

Prespecified number of clusters

Value

A list with:

initial means (matrix with dimension c*d)

initial covariance (a list with c matrices of dimension d*d)

initial proportion of clusters tau (a vector with c elements)


AmIACommonGuy/RobustEM documentation built on April 24, 2022, 5:38 a.m.