View source: R/method_clustering.R
clusteriness | R Documentation |
This function will cluster the data using stats::hclust()
and
stats::cutree()
. Every cluster with at least two members qualifies for
further analysis. Clusters are then ranked based on their size in relation
to the total number of values. The return value is a final score between
0.0 and 1.0. Lower ranking clusters contribute less to this score.
clusteriness(data, span = 1e+06, weight = 0.5)
data |
The values that should be scored. |
span |
The maximum span of values considered to be in one cluster. |
weight |
The weight that will be given to the next largest cluster in
relation to the previous one. For example, if |
A score between 0.0 and 1.0 summarizing how much the data clusters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.