Skip to content

Instantly share code, notes, and snippets.

@riivo
Created February 27, 2013 09:22
Show Gist options
  • Select an option

  • Save riivo/5046585 to your computer and use it in GitHub Desktop.

Select an option

Save riivo/5046585 to your computer and use it in GitHub Desktop.
Find out which columns have NAs in the data
sapply(DF, function(x)any(is.na(x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment