Learn R Programming

aurelius (version 0.8.4)

extract_params.kcca: extract_params.kcca

Description

Extract K-centroids model parameters from a kcca object created by the flexclust library

Usage

# S3 method for kcca
extract_params(object, ...)

Arguments

object

an object of class "kcca"

...

further arguments passed to or from other methods

Value

PFA as a list-of-lists that can be inserted into a cell or pool

Examples

Run this code
model <- flexclust::kcca(iris[,1:4], k = 3, family=flexclust::kccaFamily("kmeans"))
extracted_params <- extract_params(model)

Run the code above in your browser using DataLab