Calculates the entropy of a category. It uses the amount of categories to scale between 0 and 1.
A character or vector with two or more categories
The numeric value of the Shannon entropy scaled between 0 and 1.
It omits the
NA if present.