Error in `contrasts<-`(`*tmp*`,value=contr.funs[1+isOF[nn]]): contrasts can be applied only to factors with 2 or more levels" due to imbalanced data?
I’m facing the following issue in R and I don’t know how to solve it:
I’m facing the following issue in R and I don’t know how to solve it: