Description Usage Arguments Details Value
Run clustering algorithm for a given sscs object. The sscs object will be initialized using the specified number of clusters (nclusters) and any additional parameters (passed in '...', see init(...)). Clustering can be done repeatedly (specified by nreps), returning the best results. Computation will be distributed across the number of compute cores specified by ncores.
1 2 |
sscs |
Object of class 'sscs' created by new_sscs(...). |
nclusters |
Integer number of clusters >= 1. |
nreps |
Number of repeated runs (returns the best run). |
ncores |
Number of compute cores to distribute repeated runs across. |
max.iterations |
Maximum number of assignment update iterations per run. |
tolerance |
Numerical precision to use when updating cluster redundancy (see update_assignments) |
... |
Additional parameters to pass to init(...). |
Clustering is done by iteratively updating cluster assignments, stopping when assignments are stable (no change between iterations) or max.iterations is reached. Tolerance determines the numerical precision used for calculating cluster redundancies (see update_assignments).
Returns an sscs object with updated cluster assignments, which can be accessed with the assignments(...) function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.