Description Usage Arguments Details Value
For a given number of clusters, k
, nrep
kcca objects are generated.
1 2 |
x |
Integer. matrix. Input to kcca. |
k |
Integer. Number of clusters for this run. |
nrep |
Integer. Number of repititions to run. |
verbose |
Logical. Override for fc_control slot verbose. |
FUN |
flexclust function. |
seed |
Integer. Starting set.seed value for this run. |
plotme |
Logical. Should plot be produced as side-effect? |
fc_contol |
The flexclust control object for this run. |
Each is kcca object is re-ordered so clusters are in decending size order. Cluster summary information is
pulled out of each object from the clusinfo
slot. This includes the sizes of the clusters.
To look for stable cluster solutions, each random run is characterized by the sizes of the first
two clusters; which will be the largest after reording. kde2d()
from the MASS package is
used to find density contours. The highest peak is determined and the distance of each solution
to the peak is retained for each cluster.
Optionally, the scatter plot of the sizes and corresponding coutour in plotted.
A list(best, sizes, peak_at, tries)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.