This question already has an answer here:
I have a sorted list of integers. From this list, I would like to find intervals of numbers in which most of the numbers are concentrated.
I have used K-Means with R and played around with the k parameter to visually identify ranges, but I am not satisfied with the justification of this method as I'm not sure how to evaluate how good each clustering scheme is.
Would it be possible to use something like Kernel Density Estimation to get the ranges?