Description Usage Arguments Value Examples
Perform clustering on a data matrix using a pure R implementation of the DP-means algorithm.
1 |
x |
numeric matrix or data frame of features |
lambda |
threshold distance for creating new clusters |
max_iter |
maximum number of iterations |
tol |
tolerance when checking for convergence |
verbose |
whether to print status information after each iteration |
For convenience and ease of use with visualization and tidying
packages, the returned object has same class (kmeans
) and components
as an object returned by stats::kmeans()
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.