hi! im very new at r and im hoping someone might be able to offer some insight into this error message im getting? i did code two NA variables in my independent and dependent variable (as those respondents had replied "prefer not to answer") - i need to exclude those variables, so does anyone know how i might be able to get around this? thank you!
lm(jobsclimate ~ sovereignty, data = CES)
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
NA/NaN/Inf in 'y'
In addition: Warning message:
In storage.mode(v) <- "double" : NAs introduced by coercion