Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “为什么在 R 中运行 kmeans 之前设置随机种子很重要?”

1 keyword matches

Understanding your question. You can explore the search results below now.

Find a method

↗

You run K-means clustering in R using the kmeans() function. You pass the dataset as the first argument and specify the number of clusters using the centers argument, for example, centers = 3.

Conditions: Requires a numeric dataset.; Requires specifying the number of clusters (centers).