I'm quite new to R and am trying to run a number of separate multiple regression analyses on a dataset with some 250 rows. I've successfully done a few of these on columns with a small number of NA's, however it's refusing to work on columns with larger numbers of NA's (48 NA's) and giving me the error message "Error in mkRespMod(fr, REML = REMLpass) : NA/NaN/Inf in 'y'". The command I'm using is
summary(with(Gratios, lmer(log(G_ratio) ~ -1 + Type + scaled_date + I(scaled_date^2) + (1|Site) + (1|Crop) +(1|Harvest.status), REML = F) ))
Is there a way to make R run the analysis anyway? I'm sorry if my question is not very specific, I'm very new to R and not quite sure of what the issue even is, please no one bite my head off and thanks for the help