Description Usage Arguments Details Value Author(s) References Examples

View source: R/consensus_evaluate.R

Compute the compactness validity index for a clustering result.

1 |

`data` |
a dataset with rows as observations, columns as variables |

`labels` |
a vector of cluster labels from a clustering result |

This index is agnostic to any reference clustering results, calculating cluster performance on the basis of compactness and separability. Smaller values indicate a better clustering structure.

the compactness score

Derek Chiu

MATLAB function `valid_compactness`

by Simon Garrett in
LinkCluE

1 2 3 4 5 6 |

```
[1] 24.13164
```

diceR documentation built on June 11, 2018, 5:04 p.m.

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.