Get unique groups of covariates
getUniqueGroups(x)
x
a matrix-like object containing the covariates.
a factor of unique groups.