Description Usage Arguments Details Value Author(s) See Also Examples
K-Means Clustering
1 | KmeansClust(data, x, y, cluster, rstart = 1)
|
data |
is the dataset containing the observations. |
x |
is a reference to a column in the dataset that is could be the independent variable. |
y |
is a reference to another column in the dataset that could be the dependent variable. |
cluster |
is the number of clusters to perform k-means operation on. |
rstart |
is how many random starting cluster assignments to try before choosing the one with the lowest within cluster variation |
Subsets given data using column names or number and performs k-means clustering on the subset data with error handling.
Returns a list that contains values corresponding to the cluster number, and other details.
Adithya Murali
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.