Description Usage Arguments Value Source Examples
Extract K-means model parameters from a kmeans object
1 2 | ## S3 method for class 'kmeans'
extract_params(object, ...)
|
object |
an object of class "kmeans" |
... |
further arguments passed to or from other methods |
PFA as a list-of-lists that can be inserted into a cell or pool
kcca.R
1 2 | model <- kmeans(x=iris[, 1:2], centers=3)
extracted_params <- extract_params(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.