After run a procedure in R-statistic, I obtain a set of solutions, allows this solutions I have a matrix like this forme:
cluster Cluster
K-means clustering with 3 clusters of sizes 3, 1, 3
Cluster means:
[,1] [,2] [,3] [,4] [,5]
1 13.33333 11 18.00000 13.33333 11
2 18.00000 18 11.00000 11.00000 11
3 13.33333 11 13.33333 11.00000 18
Clustering vector:
a b c d e f g
3 1 3 2 1 1 3
Within cluster sum of squares by cluster:
[1] 65.33333 0.00000 65.33333
(between_SS / total_SS = 61.1 %)
Available components:
[1] "cluster" "centers" "totss" "withinss" "tot.withinss"
[6] "betweenss" "size" "iter" "ifault"
I want just extract the matrix "Cluster means" without index of line and column.
I just need the extraire a matrix Cluster like:
13.33333 11 18.00000 13.33333 11
18.00000 18 11.00000 11.00000 11
13.33333 11 13.33333 11.00000 18
How can I obtain this matrix?