Last active
April 8, 2017 01:32
-
-
Save kevincdurand1/0b3ab4660c9e2f309032ffbcbd583b3b to your computer and use it in GitHub Desktop.
Percent of Missing Values of dataset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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