missingness_summary {dbGaPCheckup}R Documentation

Missingness Summary

Description

This awareness function summarizes the amount of missingness in the data set.

Usage

missingness_summary(DS.data, non.NA.missing.codes = NA, threshold = 95)

Arguments

DS.data

Data set.

non.NA.missing.codes

A user-defined vector of numerical missing value codes (e.g., -9999).

threshold

Threshold for missingness of concern (as a percent).

Value

Tibble containing: (1) Message containing information on the number of variables with a % missingness greater than the threshold; (2) Missingness by variable summary; and (3) Summary of missingness for variables with a missingness level greater than the threshold.

See Also

create_awareness_report

Examples

# Correct useage
data(ExampleA)
missingness_summary(DS.data.A, non.NA.missing.codes=c(-4444, -9999))

[Package dbGaPCheckup version 1.1.0 Index]