extract_params.kmeans: extract_params.kmeans

Description Usage Arguments Value Source Examples

Description

Extract K-means model parameters from a kmeans object

Usage

1
2
## S3 method for class 'kmeans'
extract_params(object, ...)

Arguments

object

an object of class "kmeans"

...

further arguments passed to or from other methods

Value

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

Source

kcca.R

Examples

1
2
model <- kmeans(x=iris[, 1:2], centers=3)
extracted_params <- extract_params(model)

aurelius documentation built on May 2, 2019, 3:43 a.m.