Learn R Programming

rtemis (version 1.4.3)

dt_pctmissing: Get percent of missing values from every column

Description

Get percent of missing values from every column

Usage

dt_pctmissing(x, verbosity = 1L)

Value

list

Arguments

x

data.frame or data.table

verbosity

Integer: Verbosity level.

Author

EDG

Examples

Run this code
library(data.table)
x <- data.table(a = c(1, 2, NA, 4), b = c(NA, NA, 3, 4), c = c("A", "B", "C", NA))
dt_pctmissing(x)

Run the code above in your browser using DataLab