encodeCat function

One-Hot Encodes Factor Variables (FIRST Level as Reference)