powered by
y
density
unimodal.ind(y)
TRUE
unimodal.ind(c(1,3,3,4,2,1,0,0))
Run the code above in your browser using DataLab