modal function

Calculate the mode (modal value) and return a label