Skip to content

Instantly share code, notes, and snippets.

@wlinInspire
Last active August 11, 2019 03:28
Show Gist options
  • Save wlinInspire/1b68d38a89d631fba68ae37027c3e368 to your computer and use it in GitHub Desktop.
Save wlinInspire/1b68d38a89d631fba68ae37027c3e368 to your computer and use it in GitHub Desktop.
10 R Tricks to Boost Your Productivity
cc <- function(df) {
print(df %>% is.na() %>% colSums())
}
cd <- function(df) {
print(df %>% is.na() %>% colMeans())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment