This function computes the relative entropy (H) as an index for qualitative variation of a factor.
conda install r::r-relen