Selection of optimal number of clusters using bootstrap.
This is a minor modification of the nselectboot function in the package fpc, so you can use package::nselectboot
to run the perferred version if both packaes are loaded. See nselectboot
for details.
1 2 3 |
data |
data or dissimilarity matrix |
B |
number of boostrap |
distances |
(logical) is data a dissimilarity matrix ? |
clustermethod |
clustering method, see |
classification |
see |
krange |
integer vector; numbers of clusters to be tried |
count |
logical. If TRUE, numbers of clusters and bootstrap runs are printed. |
nnk |
number of closest neighbors for classification |
... |
further arguments passed to or from other methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.