I have sets of data with a bimodal distribution and the best estimate of splitting the two seems to use the single (unique) values that can be taken, and calculate the mean. This mean value nicely separates my data, but I would like to know if this approach/function has a name (similar to mode and median).
Is it appropriate to use the mean of the unique values from a bimodal distribution to split the data?
This would not be suitable in general; in some cases the mean may lie very close to one of the modes or even outside the interval between the two modes.
In the above histogram the vertical line marks the sample mean; as you see it's to the right of the right-most mode.
I would like to know if this approach/function has a name
Well, I'd call it mean-splitting (at least I would without doing
unique() first). It wouldn't be a common thing to do for this purpose.