I currently have a dataframe of four columns and over 2,000 rows. Two of the columns contain many NA data points. I need to delete all the rows that contain the NA data point.
I am using my dataframe to eventually plot however, R says I cannot plot with the many NA points I have. So, deleting the rows would remove all NA data and the data point corresponding with the NA data. In other words, if my dataframe contains the row:
230 NA I will eventually be using the row as a point on a graph (230, NA). So, I need to not only delete the NA, but the 230 it corresponds to.
If you think of a better way to graph my data, please let me know. I am not an expert in Rstudio, so any teaching/explain is welcome.