I have the following problem which might seem simple.
As you can see some of the values are close to each other
those values that are close to each other have to be grouped into groups so that the difference of a values to the average value is not greater then a value X.
Thank you for any help that you could give me with this.