-1

Please view the image Please view the attached image.I want to delete the rows containing NA in airsystemdelay,securitydelay,airlinedelay,lateaircraftdelay,waeatherdelay

  • using `sum`, if the result is `NA` just remove – BENY Jul 02 '17 at 01:10
  • 2
    I'm voting to close this question as off-topic because SO is here to help with code you wrote but SO is not here to write code for you. – Rob Jul 02 '17 at 02:41

1 Answers1

1

Assuming you want to remove rows where any of columns 3 to 7 are NA:

df <- df[complete.cases(df[,c(3:7)]),]