covaruber / sommer

38 stars 25 forks source link

Error in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels #37

Closed MooreZhu closed 2 years ago

MooreZhu commented 2 years ago

how to solve this problem

covaruber commented 2 years ago

Can you provide a minimal example to recreate the error and find a solution?

Cheers, Eduardo

covaruber commented 2 years ago

Closing since there was no follow up from your side.

Cheers, Eduardo