result_external_algorithm_by_metric {Clustering} | R Documentation |

It is used for obtaining the results of an algorithm indicated as a parameter grouped by number of clusters.

```
result_external_algorithm_by_metric(df, metric)
```

`df` |
data matrix or data frame with the result of running the clustering algorithm. |

`metric` |
It's a string with the metric to evaluate. |

A data.frame with the results of the algorithm indicated as parameter.

```
result = clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='gmm',
metrics=c("Precision")
)
result_external_algorithm_by_metric(result,'Precision')
```

[Package *Clustering* version 1.7.7 Index]