Skip to content

Instantly share code, notes, and snippets.

@kevincdurand1
Last active April 8, 2017 01:32
Show Gist options
  • Save kevincdurand1/0b3ab4660c9e2f309032ffbcbd583b3b to your computer and use it in GitHub Desktop.
Save kevincdurand1/0b3ab4660c9e2f309032ffbcbd583b3b to your computer and use it in GitHub Desktop.
Percent of Missing Values of dataset
sapply(database, function(df) {
sum(is.na(df)==TRUE)/ length(df);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment