Created
January 26, 2017 10:53
-
-
Save Keiku/ea243c7395c0ea4f52b6d9ad09c8d4d5 to your computer and use it in GitHub Desktop.
count missing values of all columns in DataFrame.
This file contains hidden or 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
library(mice) | |
library(purrr) | |
map_df(airquality, function(x) sum(is.na(x))) | |
# A tibble: 1 × 6 | |
# Ozone Solar.R Wind Temp Month Day | |
# <int> <int> <int> <int> <int> <int> | |
# 1 37 7 0 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment