View source: R/nearestCentroid.r
nearestCentroid | R Documentation |
The function will return the set of labels of a data set
nearestCentroid(dataset,
clustermean=NULL,
clustercov=NULL,
p.threshold=1.0e-6)
dataset |
The data set to be labeled |
clustermean |
The list of cluster centers. |
clustercov |
The list of cluster covariances |
p.threshold |
The minimum aceptance p.value |
The data set will be labeled based on the nearest cluster label. Points distance with membership probability lower than the acceptance threshold will have the "0" label.
ClusterLabels |
The labels of each point |
Jose G. Tamez-Pena
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.