Get dimnames of contrasts from factor
Given a factor, extract the row and column names of the contrasts. If they're not set, then use default values. Also helps to catch invalid usage of polynomial contrasts.
.get_dimnames(factor_col)
factor_col
List of rownames and column names
Useful links