summary.missingness: Summarizes data given by 'missingness'

Description Usage Arguments Value Examples

View source: R/missingness.R

Description

Interpreting missingness results from wide datasets is difficult. This function helps interpret missingness output by summarizing this output by listing: the percent of variables that contain missingness, the variable name of the variable with the maximum amount of missingness along with its percent of observations containing missing values, and a tibble that lists the top 5 missingness levels with the count of the number of variables associated with each level (0 missingness level is ignored). If there are no variables with missingness, a message that reports no missingness is printed and NULL is returned instead.

Usage

1
2
## S3 method for class 'missingness'
summary(object, ...)

Arguments

object

Data frame from missingness

...

Unused

Value

a tibble of the top 5 missingness percentage levels with the count of the number of variables associated with each level. If no missingness is found, NULL is returned instead.

Examples

1
2

healthcareai documentation built on Sept. 2, 2018, 1:03 a.m.