1 Load packages 2 Sample data 3 Count NA rowwise 4 Way 1: rowwise sum with mutate and c_across 5 Way 2: apply() with margin 1 6 Way 3: rowSums 7 Way 4: cur_data() 8 Why not map()? 9 Reproducibility 1 Load packages library(tidyverse) # data wrangling 2 Sample data data("mtcars") Create some NA: mtcars$mpg[c(1,2,3)] <- NA mtcars$hp[c(1,2,3)] <- NA 3 Count NA rowwise What we would like to achieve is to comfortable count the missing values per …