Description Usage Arguments Details Value Author(s) Examples
This calls Mclust and then greedily collapses not-well-separated components.
1 | clusterAndCollapse(x, minSep, G = c(1:5))
|
x |
A vector or matrix |
minSep |
Minimum separation required between means of adjacent groups |
G |
Numbers of groups to fit (default is 1 through 5) |
Not yet.
A list with two elements: $retain is the number of surviving components, $values is the reassigned values for each observation
Tim Triche, Jr..
1 2 3 |
foo <- c(0, 0.1, 0.15, 0.2, 0.25, 0.3, 0.6, 0.7, 0.75, 0.8, 0.85, 0.9)
clusterAndCollapse(foo, minSep=0.4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.