powered by
Extract K-centroids model parameters from a kccasimple object created by the flexclust library
# S3 method for kccasimple extract_params(object, ...)
an object of class "kccasimple"
further arguments passed to or from other methods
PFA as a list-of-lists that can be inserted into a cell or pool
model <- flexclust::kcca(iris[,1:4], k = 3, family=flexclust::kccaFamily("kmeans"), simple=TRUE) extracted_params <- extract_params(model)
Run the code above in your browser using DataLab