Test the unimodality of a distribution

test_unimodality(values, test = "DIP", warnings = FALSE)

Arguments

values

Unidimensional array of numerical values (distances)

test

Statistical test used (for now the only option is "DIP")

warnings

Logical value, to display the warnings and errors caught

Value

p-value of the test (lower values suggest multimodality)

See also