Question: [R] I need help with one question. I already have my clusters, but I don't know how to use the which() function to find the

[R] I need help with one question. I already have my clusters, but I don't know how to use the which() function to find the indices. Thanks in advance.

[R] I need help with one question. I already have my clusters,

13. Partition the vector into 4 clusters Function needed: Ckmeans.1d.dp (! 14. Reporthe positions (indices) of the numbers in each cluster Function needed: which() For example, if the clustering results are 1 4314111231111212124, then numbers at indices 1 4 678 11 12 13 14 16 18 belong to cluster 1 and so on 13. Partition the vector into 4 clusters Function needed: Ckmeans.1d.dp (! 14. Reporthe positions (indices) of the numbers in each cluster Function needed: which() For example, if the clustering results are 1 4314111231111212124, then numbers at indices 1 4 678 11 12 13 14 16 18 belong to cluster 1 and so on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!