Trying out the Reggression model with a selected dataset..it doesnot work but wiError in `contrasts<-`(`*tmp*`, value = contr.funs[1 + isOF[nn]]) : contrasts can be applied only to factors with 2 or more levels Using the th the original dataset it work

@ibrahimm_mugerwa Thanks for posting!
Here is an info page and video tutorial on how to post an R code question in a way that makes it easy for us to help you.

1 Like