I\'d like to remove the lines in this data frame that:
a) contain NAs across all columns. Below is my example data frame.
NA
We can also use the subset function for this.
finalData<-subset(data,!(is.na(data["mmul"]) | is.na(data["rnor"])))
This will give only those rows that do not have NA in both mmul and rnor