Description Usage Arguments Value
build the knn indices based on schlittgens' algorithm
1 | clusterWise(x, y, k, rep = 30)
|
x |
the design matrix (intercept term should be included if any) |
y |
the response vector |
k |
number of clusters |
rep |
number of replications; default = 30 |
Returns the membership labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.