Error in contrasts(this_fixed_data) : contrasts apply only to factors
I'm still getting:Error in contrasts(this_fixed_data) : contrasts apply only to factorswhen I try to use ezPredict on my data. I have tried using a few different continuous outcome variables, and a number of different fixed and random predictors and always get the same error... I don't get the error when I use a gamm4 model, and set "fit = gam.avrank.zgs$gam" nor do I have a problem when I use the ANT data and an lmer model.Many sincere thanks if you can give me any help.Mike