I’m running a linear regression model and im trying i was able to plot my data with my x and y variables, not im trying to include my control variables in the plot
this is my code :
model2 <- lm(latentmean_FA ~ ind_total_OFS + gdppc_WDI + pop_WDI_PW + ka_open_TR + prty_rights_BTI + polity2_P4 + natresource_rents_WDI +unitlaborcost_ILO + hc_PW, data=mydata)
this is the error message im getting:
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, …) :
0 (non-NA) cases
does anyone one what this means im kind of clueless in R studio and would be very thankful for any help!
Read more here: Source link