Slider input for the desired number of clusters.
Usage
n_clusters_input(
id,
label = "Number of clusters:",
min = 2,
max = 10,
value = 4
)
Arguments
- id
An ID string that corresponds with the ID used to call the module's UI function.
- label
label for the slider input.
- min
The minimum value (inclusive) that can be selected.
- max
The maximum value (inclusive) that can be selected.
- value
The initial value of the slider.