Description Usage Arguments Details Value Author(s)

View source: R/nearestCentroid.r

The function will return the set of labels of a data set

1 2 3 4 | ```
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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.