plot_elbow: Generate the elbow plot

Description Usage Arguments Value See Also Examples

Description

Plot of the sum of the inter-clusters distances (y-axis) for every number of clusters in k (x-axis).

Usage

1
plot_elbow(signatures, k = 1:20, selected = NULL)

Arguments

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.

Value

A ggplot2 object.

See Also

load_signature_files

Examples

1
2
data(signatures)
plot_elbow(signatures, k=1:3)

demosense/archeospec documentation built on May 28, 2019, 8:39 a.m.