stability {bootcluster}  R Documentation 
Estimate of kmeans bootstrapping stability
stability(x, k, B = 20, r = 5, scheme_2 = TRUE)
x 
a 
k 
a 
B 
number of bootstrap resamplings 
r 
number of runs of kmeans 
scheme_2 

This function estimates the clustering stability through bootstrapping approach. Two schemes are provided. Scheme 1 uses the clustering of the original data as the reference for stability calculations. Scheme 2 searches acrossthe clustering samples that gives the most stable clustering.
membership
a vector
of membership for each observation from the reference clustering
obs_wise
vector
of estimated observationwise stability
overall
numeric
estimated overall stability
Han Yu
Bootstrapping estimates of stability for clusters, observations and model selection. Han Yu, Brian Chapman, Arianna DiFlorio, Ellen Eischen, David Gotz, Matthews Jacob and Rachael Hageman Blair.
set.seed(1) data(wine) x0 < wine[,2:14] x < scale(x0) stability(x, k = 3, B=20, r=5, scheme_2 = TRUE)