powered by
Checks whether a series of fitted density values (such as given out as y-component of density) is unimodal.
y
density
unimodal.ind(y)
Logical. TRUE if unimodal.
TRUE
numeric vector of fitted density values in order of increasing x-values such as given out as y-component of density.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
unimodal.ind(c(1,3,3,4,2,1,0,0))
Run the code above in your browser using DataLab