detect_na: Detect missing values

Description Usage Arguments Value Examples

Description

Detect na takes a table as input and returns a table with the number and the share of missing values by column

Usage

1

Arguments

table

name of the input variable

Value

a table with 3 columns (variable, n_missing, share_missing)

Examples

1
2
tibble::tibble(col1 = c(1,NA,3,4), col2 = c(NA,NA,NA,NA)) %>%
detect_na()

SGMAP-AGD/opensignauxfaibles documentation built on May 15, 2019, 1:26 p.m.