cluster_alg: Clustering Method for ClusterCV

Description Usage Arguments Value

View source: R/cluster_alg.R

Description

This function is used in ClusterCVMain to implement the clustering method that is specified in input of the function.

Usage

1
cluster_alg(alg, train_sub, i)

Arguments

alg
  • algorithm selected in the ClusterCVMain or ClusterCV input

train_sub
  • training sub-matrix

i
  • current number of clusters

Value

cluster assignment for each observation of the training sub-matrix


pangoria/clusterEstimation documentation built on Dec. 22, 2021, 6:39 a.m.