iNZightVIT / iNZightPlots

Plot functions for use by iNZight.
2 stars 1 forks source link

Plots breaking for factor variable in survey with one level #258

Closed tmelliott closed 3 years ago

tmelliott commented 3 years ago

Unsure what the best way to handle this case might be ...

Call: 
contrasts<-`*tmp*`contr.funs[1 + isOF[nn]]

Message: 
contrasts can be applied only to factors with 2 or more levels