Hi, R community. This is my first help thread so I apologize if I don't give the most descriptive information.
I'm trying to plot two variables from a data frame my econometrics professor has given me while simultaneously taking the log of them. The result is a normal looking scatter plot; however, there is a line of data points along the x axis that aren't coming from any of my data points. All I need is some help to remove those points. I do have NAs in my data frame but even omitting them using na.ommit doesn't help. Changing the limit on the y axis doesn't resolve the issue either. Thank you all in advance!
part_c <- ggplot(Terrorism_Data, aes(y = log(ftmpop), x = log(gdppc))) + geom_point(color = "steelblue2") + labs(x = "ln(GDP per Capita)", y = "ln(Fatalities (per million persons)") + ggtitle("ln Relationship")