Evaluates the cluster stability

clStab(df, method = "kmeans", kmax = 10)

Arguments

df

a data.frame

method

character, one of "kmeans", "hierarchical"

kmax

numeric, the maximum number of cluster to test

Value

a named list with two elements: stab the result from the stability function clValid::clValid and optim_df a data.frame with optimum values following the one-standard-deviation rule