how_many_nas: Find out how many missing values are in each column of a data...

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

how_many_nas finds the number of missing values in the columns of a data frame. You can also have it return the percentage of missing values instead of the raw totals.

Usage

1
how_many_nas(x, p = F)

Arguments

x

a data frame to examine

p

a logical flag indicating if the results should be in percentages. Defaults to FALSE

Value

a named vector with the column names as the names and the number or percentage of missing values as the values

Examples

1
2
3

mattmills49/modeler documentation built on May 21, 2019, 1:25 p.m.