Description Usage Arguments Value
Internal function of ClustImpute: check new centroids for duplicate rows and replace with random draws in this case.
1 | check_replace_dups(centroids, X, seed)
|
centroids |
Matrix of centroids |
X |
Underlying data matrix (without missings) |
seed |
Seed used for random sampling |
Returns centroids where duplicate rows are replaced by random draws
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.