Plot of the sum of the inter-clusters distances (y-axis) for every number of clusters in k (x-axis).
plot_elbow(signatures, k = 1:20, selected = NULL)
| signatures | A spectral object built using the load_signature_files function. |
|---|---|
| k | List of values of k to use in the x-axis. |
| selected | The selected value for the report. If provided, it will be printed as a red point in this plot. |
A ggplot2 object.
data(signatures) plot_elbow(signatures, k=1:3)