Test the unimodality of a distribution
test_unimodality(values, test = "DIP", warnings = FALSE)
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 |
p-value of the test (lower values suggest multimodality)